vrpn_Text_Sender(const char *name, vrpn_Connection *c=NULL)
char message[vrpn_MAX_TEXT_LEN]
virtual void mainloop(void)
Called once through each main loop iteration to handle updates. Remote object mainloop() should call ...
Allows a user to handle text messages directly, in addition too having the.
virtual int register_types(void)
No types to register beyond the text, which is done in BaseClass.
Allows a user to send text messages from a device (usually,.
void mainloop(void)
Mainloop the connection to send the message.
void(VRPN_CALLBACK * vrpn_TEXTHANDLER)(void *userdata, const vrpn_TEXTCB info)
Description of the callback function type.
virtual int register_message_handler(void *userdata, vrpn_TEXTHANDLER handler)
virtual int register_types(void)
No types to register beyond the text, which is done in BaseClass.
virtual int unregister_message_handler(void *userdata, vrpn_TEXTHANDLER handler)
Structure passed back to user-level code from a vrpn_Text_Receiver.
const struct timeval vrpn_TEXT_NOW
vrpn_Callback_List< vrpn_TEXTCB > d_callback_list