vrpn
07.33
Virtual Reality Peripheral Network
|
Template class for holding generic VRPN objects with type information. More...
#include <vrpn_MainloopObject.h>
Public Member Functions | |
TypedMainloopObject (T *o, bool do_delete=true) | |
virtual | ~TypedMainloopObject () |
virtual void | mainloop () |
The mainloop function: the primary thing we look for in a VRPN object. More... | |
virtual bool | broken () |
Checks the connectionPtr() for the VRPN object to make sure it is not NULL. More... | |
![]() | |
virtual | ~vrpn_MainloopObject () |
Destructor. More... | |
Protected Member Functions | |
virtual void * | _returnContained () const |
Internal function to return a typeless pointer of the contained object, for comparison purposes. More... | |
![]() | |
vrpn_MainloopObject () | |
Protected Attributes | |
T * | _instance |
bool | _do_delete |
Additional Inherited Members | |
![]() | |
template<class T > | |
static vrpn_MainloopObject * | wrap (T o) |
Templated wrapping function. More... | |
template<class T > | |
static vrpn_MainloopObject * | wrap (T o, bool owner) |
Templated wrapping function that can encourage the wrapper to not destroy the wrapped object at destruction. More... | |
![]() | |
bool | operator== (vrpn_MainloopObject const &lhs, vrpn_MainloopObject const &rhs) |
bool | operator!= (vrpn_MainloopObject const &lhs, vrpn_MainloopObject const &rhs) |
Template class for holding generic VRPN objects with type information.
Definition at line 105 of file vrpn_MainloopObject.h.
|
inline |
Definition at line 107 of file vrpn_MainloopObject.h.
References VRPN_MAINLOOPOBJECT_MSG.
|
inlinevirtual |
Definition at line 117 of file vrpn_MainloopObject.h.
References VRPN_MAINLOOPOBJECT_MSG.
|
inlineprotectedvirtual |
Internal function to return a typeless pointer of the contained object, for comparison purposes.
Implements vrpn_MainloopObject.
Definition at line 135 of file vrpn_MainloopObject.h.
|
inlinevirtual |
Checks the connectionPtr() for the VRPN object to make sure it is not NULL.
Implements vrpn_MainloopObject.
Definition at line 132 of file vrpn_MainloopObject.h.
|
inlinevirtual |
The mainloop function: the primary thing we look for in a VRPN object.
Implements vrpn_MainloopObject.
Definition at line 130 of file vrpn_MainloopObject.h.
|
protected |
Definition at line 137 of file vrpn_MainloopObject.h.
|
protected |
Definition at line 136 of file vrpn_MainloopObject.h.