72 virtual ~vrpn_Text_Receiver(
void);
73 virtual int register_message_handler(
void *userdata,
74 vrpn_TEXTHANDLER handler)
76 return d_callback_list.register_handler(userdata, handler);
79 virtual int unregister_message_handler(
void *userdata,
80 vrpn_TEXTHANDLER handler)
82 return d_callback_list.unregister_handler(userdata, handler);
94 static int VRPN_CALLBACK
virtual void mainloop(void)
定义 vrpn_Text.h:85
virtual int register_types(void)
No types to register beyond the text, which is done in BaseClass.
定义 vrpn_Text.h:99
void mainloop(void)
Mainloop the connection to send the message.
定义 vrpn_Text.h:49
int send_message(const char *msg, vrpn_TEXT_SEVERITY type=vrpn_TEXT_NORMAL, vrpn_uint32 level=0, const struct timeval time=vrpn_TEXT_NOW)
Send a text message.
virtual int register_types(void)
No types to register beyond the text, which is done in BaseClass.
定义 vrpn_Text.h:63
Structure passed back to user-level code from a vrpn_Text_Receiver.
定义 vrpn_Text.h:22