![]() |
RflySimSDK v3.05
RflySimSDK说明文档
|
类 | |
struct | vrpn_CBS |
Public 类型 | |
typedef void(VRPN_CALLBACK * | HANDLER_TYPE) (void *userdata, const CALLBACK_STRUCT info) |
Public 成员函数 | |
int | register_handler (void *userdata, HANDLER_TYPE handler) |
Call this to add a handler to the list. | |
int | unregister_handler (void *userdata, HANDLER_TYPE handler) |
Call this to remove a handler from the list (if it exists) | |
void | call_handlers (const CALLBACK_STRUCT &info) |
This will pass the referenced parameter as a const to all the callbacks. | |
vrpn_Callback_List () | |
The list starts out empty | |
vrpn_Callback_List (const vrpn_Callback_List &from) | |
This class requires deep copies. | |
void | operator= (const vrpn_Callback_List &from) |
~vrpn_Callback_List () | |
Clear the list upon destruction if it is not empty already | |
Protected 类型 | |
typedef struct vrpn_Callback_List::vrpn_CBS | CHANGELIST_ENTRY |
Protected 属性 | |
CHANGELIST_ENTRY * | d_change_list |
|
inline |
The list starts out empty
|
inline |
This class requires deep copies.
|
inline |
Clear the list upon destruction if it is not empty already
|
inline |
This will pass the referenced parameter as a const to all the callbacks.
|
inline |
Call this to add a handler to the list.
|
inline |
Call this to remove a handler from the list (if it exists)