|
void | report_changes (vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY) |
|
void | report (vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY) |
|
void | decodePacket (size_t bytes, vrpn_uint8 *buffer) |
|
void | init_hid (void) |
|
void | on_data_received (size_t bytes, vrpn_uint8 *buffer) |
| Derived class reimplements this callback. It is called whenever a read returns some data.
|
|
int | register_types (void) |
|
| vrpn_Griffin (vrpn_HidAcceptor *filter, const char *name, vrpn_Connection *c=0, vrpn_uint16 vendor=0, vrpn_uint16 product=0) |
|
virtual int | init (void) |
|
virtual int | register_senders (void) |
|
| vrpn_BaseClass (const char *name, vrpn_Connection *c=NULL) |
|
int | register_autodeleted_handler (vrpn_int32 type, vrpn_MESSAGEHANDLER handler, void *userdata, vrpn_int32 sender=vrpn_ANY_SENDER) |
|
int | send_text_message (const char *msg, struct timeval timestamp, vrpn_TEXT_SEVERITY type=vrpn_TEXT_NORMAL, vrpn_uint32 level=0) |
| Sends a NULL-terminated text message from the device d_sender_id
|
|
SendTextMessageBoundCall | send_text_message (vrpn_TEXT_SEVERITY type=vrpn_TEXT_NORMAL) |
|
void | server_mainloop (void) |
|
void | client_mainloop (void) |
|
vrpn_Connection * | connectionPtr () |
| Returns a pointer to the connection this object is using
|
|
void | send_data (size_t bytes, const vrpn_uint8 *buffer) |
| Call this to send data to the device
|
|
void | send_feature_report (size_t bytes, const vrpn_uint8 *buffer) |
|
int | get_feature_report (size_t bytes, vrpn_uint8 *buffer) |
|
| vrpn_HidInterface (vrpn_HidAcceptor *acceptor, vrpn_uint16 vendor=0, vrpn_uint16 product=0, hid_device *device=NULL) |
|
| vrpn_HidInterface (vrpn_HidAcceptor *acceptor, hid_device *device) |
|
| vrpn_HidInterface (const char *device_path, vrpn_HidAcceptor *acceptor, vrpn_uint16 vendor=0, vrpn_uint16 product=0) |
|
virtual bool | connected () const |
| Returns true iff the last device I/O succeeded
|
|
virtual void | update () |
|
virtual bool | reconnect () |
|
vrpn_uint16 | vendor () const |
|
vrpn_uint16 | product () const |
|
int | interface_number () const |
|
virtual int | register_types (void) |
|
virtual vrpn_int32 | encode_to (char *buf) |
|
virtual void | report_changes (vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW) |
|
virtual void | report (vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW) |
|
| vrpn_Analog (const char *name, vrpn_Connection *c=NULL) |
|
void | print (void) |
|
vrpn_int32 | getNumChannels (void) const |
|
| vrpn_Button_Filter (const char *, vrpn_Connection *c=NULL) |
|
virtual vrpn_int32 | encode_states_to (char *buf) |
|
virtual void | report_changes (void) |
|
virtual void | set_momentary (vrpn_int32 which_button) |
|
virtual void | set_toggle (vrpn_int32 which_button, vrpn_int32 current_state) |
|
virtual void | set_all_momentary (void) |
|
virtual void | set_all_toggle (vrpn_int32 default_state) |
|
void | set_alerts (vrpn_int32) |
|
virtual int | register_types (void) |
|
virtual void | report_states (void) |
|
virtual vrpn_int32 | encode_to (char *buf, vrpn_int32 button, vrpn_int32 state) |
|
| vrpn_Button (const char *name, vrpn_Connection *c=NULL) |
|
void | print (void) |
|
virtual int | register_types (void) |
|
virtual vrpn_int32 | encode_to (char *buf, vrpn_int32 buflen, vrpn_int32 dial, vrpn_float64 delta) |
|
virtual void | report_changes (void) |
|
virtual void | report (void) |
|
| vrpn_Dial (const char *name, vrpn_Connection *c=NULL) |
|