A container that holds and owns one or more VRPN objects,.
void mainloop()
Runs mainloop on all contained objects, in the order that they were added.
virtual bool broken()=0
Checks the connectionPtr() for the VRPN object to make sure it is not NULL.
static vrpn_MainloopObject * wrap(T o)
Templated wrapping function.
T add(T o)
Template method to automatically wrap objects with vrpn_MainloopObject before adding them...
void clear()
Clear internal structure holding objects, deleting them in reverse order of their addition...
vrpn_MainloopObject * add(vrpn_MainloopObject *o)
Add an object wrapped by vrpn_MainloopObject. Return NULL if the object has a problem (indicated by b...
An interface for all VRPN objects that have a "mainloop" method. Not instantiated directly: use vrpn_...
~vrpn_MainloopContainer()
Destructor: invokes clear()