RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_MainloopContainer类 参考

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_MainloopObjectadd (vrpn_MainloopObject *o)
 
template<class T >
add (T o)
 
void mainloop ()
 

详细描述

A container that holds and owns one or more VRPN objects,

构造及析构函数说明

◆ vrpn_MainloopContainer()

Constructor

◆ ~vrpn_MainloopContainer()

Destructor: invokes clear()

+ 函数调用图:

成员函数说明

◆ add() [1/2]

template<class T >
T add ( T o)
inline

Template method to automatically wrap objects with vrpn_MainloopObject before adding them. Return NULL if there is a problem with the object add.

+ 函数调用图:

◆ add() [2/2]

Add an object wrapped by vrpn_MainloopObject. Return NULL if the object has a problem (indicated by broken()).

+ 函数调用图:
+ 这是这个函数的调用关系图:

◆ clear()

void clear ( )
inline

Clear internal structure holding objects, deleting them in reverse order of their addition.

Delete in reverse order

+ 这是这个函数的调用关系图:

◆ mainloop()

void mainloop ( )
inline

Runs mainloop on all contained objects, in the order that they were added.


该类的文档由以下文件生成: