![]() |
RflySimSDK v3.05
RflySimSDK说明文档
|
A container that holds and owns one or more VRPN objects, 更多...
#include <vrpn_MainloopContainer.h>
Public 成员函数 | |
vrpn_MainloopContainer () | |
Constructor | |
~vrpn_MainloopContainer () | |
Destructor: invokes clear() | |
void | clear () |
vrpn_MainloopObject * | add (vrpn_MainloopObject *o) |
template<class T > | |
T | add (T o) |
void | mainloop () |
A container that holds and owns one or more VRPN objects,
|
inline |
Constructor
|
inline |
|
inline |
Template method to automatically wrap objects with vrpn_MainloopObject before adding them. Return NULL if there is a problem with the object add.
|
inline |
Add an object wrapped by vrpn_MainloopObject. Return NULL if the object has a problem (indicated by broken()).
|
inline |
Clear internal structure holding objects, deleting them in reverse order of their addition.
Delete in reverse order
|
inline |
Runs mainloop on all contained objects, in the order that they were added.