#include <vrpn_MainloopObject.h>
类 | |
| struct | CannotWrapNullPointerIntoMainloopObject |
| Exception thrown when trying to wrap a NULL pointer. 更多... | |
Public 成员函数 | |
| virtual | ~vrpn_MainloopObject () |
| Destructor | |
| virtual void | mainloop ()=0 |
| The mainloop function: the primary thing we look for in a VRPN object | |
| virtual bool | broken ()=0 |
静态 Public 成员函数 | |
| template<class T> | |
| static vrpn_MainloopObject * | wrap (T o) |
| Templated wrapping function | |
| template<class T> | |
| static vrpn_MainloopObject * | wrap (T o, bool owner) |
Protected 成员函数 | |
| virtual void * | _returnContained () const =0 |
友元 | |
Comparison operators | |
| bool | operator== (vrpn_MainloopObject const &lhs, vrpn_MainloopObject const &rhs) |
| bool | operator!= (vrpn_MainloopObject const &lhs, vrpn_MainloopObject const &rhs) |
An interface for all VRPN objects that have a "mainloop" method. Not instantiated directly: use vrpn_MainloopObject::wrap() to create one
|
inlinevirtual |
Destructor
|
protectedpure virtual |
Internal function to return a typeless pointer of the contained object, for comparison purposes.
在 TypedMainloopObject< T * >, TypedMainloopObject< vrpn_Connection * > , 以及 TypedMainloopObject< vrpn_ConnectionPtr > 内被实现.
|
pure virtual |
Checks the connectionPtr() for the VRPN object to make sure it is not NULL.
在 TypedMainloopObject< T * >, TypedMainloopObject< vrpn_Connection * > , 以及 TypedMainloopObject< vrpn_ConnectionPtr > 内被实现.
|
pure virtual |
The mainloop function: the primary thing we look for in a VRPN object
在 TypedMainloopObject< T * >, TypedMainloopObject< vrpn_Connection * > , 以及 TypedMainloopObject< vrpn_ConnectionPtr > 内被实现.
|
inlinestatic |
Templated wrapping function
|
inlinestatic |
Templated wrapping function that can encourage the wrapper to not destroy the wrapped object at destruction