virtual void mainloop()
The mainloop function: the primary thing we look for in a VRPN object.
An interface for all VRPN objects that have a "mainloop" method. Not instantiated directly: use vrpn_...
vrpn_Connection * _instance
virtual ~vrpn_MainloopObject()
Destructor.
friend bool operator==(vrpn_MainloopObject const &lhs, vrpn_MainloopObject const &rhs)
friend bool operator!=(vrpn_MainloopObject const &lhs, vrpn_MainloopObject const &rhs)
static vrpn_MainloopObject * wrap(T o)
Templated wrapping function.
virtual void * _returnContained() const =0
Internal function to return a typeless pointer of the contained object, for comparison purposes.
virtual bool broken()=0
Checks the connectionPtr() for the VRPN object to make sure it is not NULL.
virtual void mainloop()=0
The mainloop function: the primary thing we look for in a VRPN object.
virtual void * _returnContained() const
Internal function to return a typeless pointer of the contained object, for comparison purposes.
virtual bool broken()
Checks the connectionPtr() for the VRPN object to make sure it is not NULL.
virtual ~TypedMainloopObject()
TypedMainloopObject(vrpn_Connection *o)
virtual bool broken()
Checks the connectionPtr() for the VRPN object to make sure it is not NULL.
TypedMainloopObject(T *o, bool do_delete=true)
#define VRPN_MAINLOOPOBJECT_MSG(_x)
virtual void * _returnContained() const
Internal function to return a typeless pointer of the contained object, for comparison purposes.
virtual void mainloop()
The mainloop function: the primary thing we look for in a VRPN object.
Exception thrown when trying to wrap a NULL pointer.