30 #include <ipc_thread.h> 50 bool fork_asynchronous_thread(
double poll_time);
51 INLINE
bool is_forked()
const;
53 INLINE
double get_last_poll_time()
const;
55 INLINE
void set_coordinate_system(CoordinateSystem cs);
56 INLINE CoordinateSystem get_coordinate_system()
const;
60 const std::string &device_name);
64 const std::string &device_name)=0;
66 virtual bool disconnect_device(
TypeHandle device_type,
67 const std::string &device_name,
70 virtual void do_poll();
78 double _last_poll_time;
84 thread *_client_thread;
87 static void* st_callback(
void *arg);
96 static void init_type() {
97 TypedReferenceCount::init_type();
99 TypedReferenceCount::get_class_type());
102 return get_class_type();
104 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is our own Panda specialization on the default STL map.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An abstract base class for a family of client device interfaces–including trackers,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Any of a number of different devices that might be attached to a ClientBase, including trackers,...