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. | |
| virtual bool | broken () |
| Checks the connectionPtr() for the VRPN object to make sure it is not NULL. | |
Public Member Functions inherited from vrpn_MainloopObject | |
| virtual | ~vrpn_MainloopObject () |
| Destructor. | |
Protected Member Functions | |
| virtual void * | _returnContained () const |
| Internal function to return a typeless pointer of the contained object, for comparison purposes. | |
Protected Member Functions inherited from vrpn_MainloopObject | |
| vrpn_MainloopObject () | |
Protected Attributes | |
| T * | _instance |
| bool | _do_delete |
Additional Inherited Members | |
Static Public Member Functions inherited from vrpn_MainloopObject | |
| template<class T> | |
| static vrpn_MainloopObject * | wrap (T o) |
| Templated wrapping function. | |
| 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. | |
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 _do_delete, _instance, and VRPN_MAINLOOPOBJECT_MSG.
|
inlinevirtual |
Definition at line 117 of file vrpn_MainloopObject.h.
References _do_delete, _instance, and VRPN_MAINLOOPOBJECT_MSG.
|
inlineprotectedvirtual |
Internal function to return a typeless pointer of the contained object, for comparison purposes.
Implements vrpn_MainloopObject.
Definition at line 140 of file vrpn_MainloopObject.h.
References _instance.
|
inlinevirtual |
Checks the connectionPtr() for the VRPN object to make sure it is not NULL.
Implements vrpn_MainloopObject.
Definition at line 137 of file vrpn_MainloopObject.h.
References _instance.
|
inlinevirtual |
The mainloop function: the primary thing we look for in a VRPN object.
Implements vrpn_MainloopObject.
Definition at line 135 of file vrpn_MainloopObject.h.
References _instance.
|
protected |
Definition at line 142 of file vrpn_MainloopObject.h.
Referenced by TypedMainloopObject(), and ~TypedMainloopObject().
|
protected |
Definition at line 141 of file vrpn_MainloopObject.h.
Referenced by _returnContained(), broken(), mainloop(), TypedMainloopObject(), and ~TypedMainloopObject().