Specialization for connections, since they're reference-counted. More...
#include <vrpn_MainloopObject.h>


Public Member Functions | |
| TypedMainloopObject (vrpn_Connection *o) | |
| 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 | |
| vrpn_Connection * | _instance |
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. | |
Specialization for connections, since they're reference-counted.
Definition at line 147 of file vrpn_MainloopObject.h.
|
inline |
Definition at line 149 of file vrpn_MainloopObject.h.
References _instance, and VRPN_MAINLOOPOBJECT_MSG.
|
inlinevirtual |
Definition at line 158 of file vrpn_MainloopObject.h.
References _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 170 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 167 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 165 of file vrpn_MainloopObject.h.
References _instance.
|
protected |
Definition at line 171 of file vrpn_MainloopObject.h.
Referenced by _returnContained(), broken(), mainloop(), TypedMainloopObject(), and ~TypedMainloopObject().