#include <clientBase.h>
Inheritance diagram for ClientBase:
Public Member Functions | |
PT (ClientDevice) get_device(TypeHandle device_type | |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
const string & | device_name |
Protected Member Functions | |
ClientBase () | |
bool | fork_asynchronous_thread (double poll_time) |
INLINE bool | is_forked () const |
INLINE bool | poll () |
INLINE double | get_last_poll_time () const |
INLINE void | set_coordinate_system (CoordinateSystem cs) |
INLINE CoordinateSystem | get_coordinate_system () const |
virtual | PT (ClientDevice) make_device(TypeHandle device_type |
virtual bool | disconnect_device (TypeHandle device_type, const string &device_name, ClientDevice *device) |
virtual void | do_poll () |
Protected Attributes | |
PUBLISHED | __pad0__: ~ClientBase() |
virtual const string & | device_name = 0 |
Private Types | |
typedef pmap< string, ClientDevice * > | DevicesByName |
typedef pmap< TypeHandle, DevicesByName > | Devices |
Private Attributes | |
Devices | _devices |
bool | _forked |
double | _last_poll_time |
int | _last_poll_frame |
CoordinateSystem | _cs |
Static Private Attributes | |
TypeHandle | _type_handle |
Friends | |
class | ClientDevice |
|
Definition at line 82 of file clientBase.h. |
|
Definition at line 81 of file clientBase.h. Referenced by disconnect_device(). |
|
Definition at line 31 of file clientBase.cxx. References _cs, _forked, _last_poll_frame, _last_poll_time, CS_default, and NULL. |
|
Reimplemented in VrpnClient. Definition at line 171 of file clientBase.cxx. References _devices, and DevicesByName. Referenced by ClientDevice::disconnect(), and VrpnClient::disconnect_device(). |
|
Reimplemented in VrpnClient. Definition at line 199 of file clientBase.cxx. References _last_poll_frame, _last_poll_time, ClockObject::get_frame_count(), ClockObject::get_frame_time(), and ClockObject::get_global_clock(). Referenced by VrpnClient::do_poll(). |
|
Reimplemented from TypedReferenceCount. Reimplemented in VrpnClient. Definition at line 112 of file clientBase.h. References ReferenceCount::get_class_type(), and TypedReferenceCount::init_type(). |
|
Definition at line 86 of file clientBase.cxx. |
|
Reimplemented from ReferenceCount. Reimplemented in VrpnClient. Definition at line 101 of file clientBase.h. Referenced by VrpnClient::force_init_type(), VrpnClient::get_type(), and VrpnClient::init_type(). |
|
|
|
|
|
Reimplemented from TypedReferenceCount. Reimplemented in VrpnClient. Definition at line 109 of file clientBase.h. References ReferenceCount::get_class_type(). |
|
Reimplemented from TypedReferenceCount. Reimplemented in VrpnClient. Definition at line 104 of file clientBase.h. References TypedObject::get_class_type(), TypedReferenceCount::init_type(), and register_type(). Referenced by VrpnClient::force_init_type(), init_libdevice(), and VrpnClient::init_type(). |
|
|
|
Referenced by ClientDevice::poll(). |
|
Reimplemented in VrpnClient. |
|
Reimplemented in VrpnClient. |
|
|
|
Definition at line 117 of file clientBase.h. |
|
Reimplemented from TypedReferenceCount. Reimplemented in VrpnClient. Definition at line 56 of file clientBase.h. |
|
Definition at line 88 of file clientBase.h. Referenced by ClientBase(). |
|
Definition at line 83 of file clientBase.h. Referenced by disconnect_device(). |
|
Definition at line 85 of file clientBase.h. Referenced by ClientBase(), and fork_asynchronous_thread(). |
|
Definition at line 87 of file clientBase.h. Referenced by ClientBase(), and do_poll(). |
|
Definition at line 86 of file clientBase.h. Referenced by ClientBase(), and do_poll(). |
|
Reimplemented from TypedReferenceCount. Reimplemented in VrpnClient. Definition at line 23 of file clientBase.cxx. |
|
Reimplemented in VrpnClient. Definition at line 72 of file clientBase.h. |
|
Reimplemented in VrpnClient. Definition at line 68 of file clientBase.h. |