vrpn 07.35
Virtual Reality Peripheral Network
|
#include <stddef.h>
#include "vrpn_BaseClass.h"
#include "vrpn_Configure.h"
#include "vrpn_Shared.h"
#include "vrpn_Types.h"
Go to the source code of this file.
Classes | |
class | vrpn_Button |
This is the base class for both the client and server for a button device (a device with one or more boolean switches). More... | |
class | vrpn_Button_Filter |
All button servers should derive from this class, which provides the ability to turn any of the buttons into toggles (using messages from the remote button object). More... | |
class | vrpn_Button_Server |
class | vrpn_Button_Example_Server |
class | vrpn_Button_Parallel |
class | vrpn_Button_Python |
class | vrpn_Button_Serial |
class | vrpn_Button_PinchGlove |
struct | vrpn_BUTTONCB |
struct | vrpn_BUTTONSTATESCB |
class | vrpn_Button_Remote |
Macros | |
#define | VRPN_BUTTON_OFF (0) |
#define | VRPN_BUTTON_ON (1) |
Typedefs | |
typedef void(VRPN_CALLBACK * | vrpn_BUTTONCHANGEHANDLER) (void *userdata, const vrpn_BUTTONCB info) |
typedef void(VRPN_CALLBACK * | vrpn_BUTTONSTATESHANDLER) (void *userdata, const vrpn_BUTTONSTATESCB info) |
Variables | |
class VRPN_API | vrpn_Connection |
const int | vrpn_BUTTON_MAX_BUTTONS = 256 |
const int | VRPN_BUTTON_BUF_SIZE = 256 |
const int | vrpn_BUTTON_MOMENTARY = 10 |
const int | vrpn_BUTTON_TOGGLE_OFF = 20 |
const int | vrpn_BUTTON_TOGGLE_ON = 21 |
const int | vrpn_BUTTON_LIGHT_OFF = 30 |
const int | vrpn_BUTTON_LIGHT_ON = 31 |
const int | vrpn_ALL_ID = -99 |
#define VRPN_BUTTON_OFF (0) |
Definition at line 223 of file vrpn_Button.h.
#define VRPN_BUTTON_ON (1) |
Definition at line 224 of file vrpn_Button.h.
typedef void(VRPN_CALLBACK * vrpn_BUTTONCHANGEHANDLER) (void *userdata, const vrpn_BUTTONCB info) |
Definition at line 231 of file vrpn_Button.h.
typedef void(VRPN_CALLBACK * vrpn_BUTTONSTATESHANDLER) (void *userdata, const vrpn_BUTTONSTATESCB info) |
Definition at line 244 of file vrpn_Button.h.
const int vrpn_ALL_ID = -99 |
Definition at line 24 of file vrpn_Button.h.
Referenced by vrpn_Button::set_all_momentary(), and vrpn_Button::set_all_toggle().
const int VRPN_BUTTON_BUF_SIZE = 256 |
Definition at line 14 of file vrpn_Button.h.
const int vrpn_BUTTON_LIGHT_OFF = 30 |
Definition at line 22 of file vrpn_Button.h.
const int vrpn_BUTTON_LIGHT_ON = 31 |
Definition at line 23 of file vrpn_Button.h.
const int vrpn_BUTTON_MAX_BUTTONS = 256 |
Definition at line 13 of file vrpn_Button.h.
Referenced by vrpn_Button::encode_states_to(), vrpn_Button_Filter::encode_states_to(), vrpn_Button_NI_DIO24::mainloop(), vrpn_Tracker_PhaseSpace::report_button(), vrpn_Button::report_states(), vrpn_Button::vrpn_Button(), vrpn_Button_Example_Server::vrpn_Button_Example_Server(), vrpn_Button_Filter::vrpn_Button_Filter(), vrpn_Button_PinchGlove::vrpn_Button_PinchGlove(), vrpn_Button_Remote::vrpn_Button_Remote(), vrpn_Button_Server::vrpn_Button_Server(), and vrpn_WiiMote::vrpn_WiiMote().
const int vrpn_BUTTON_MOMENTARY = 10 |
Definition at line 19 of file vrpn_Button.h.
Referenced by vrpn_Button_Filter::report_changes(), vrpn_Button::set_all_momentary(), vrpn_Button_Filter::set_all_momentary(), vrpn_Button_Filter::set_all_toggle(), vrpn_Button::set_momentary(), vrpn_Button_Filter::set_momentary(), vrpn_Button_Filter::vrpn_Button_Filter(), and vrpn_Button_SerialMouse::vrpn_Button_SerialMouse().
const int vrpn_BUTTON_TOGGLE_OFF = 20 |
Definition at line 20 of file vrpn_Button.h.
Referenced by vrpn_Button_Filter::report_changes(), vrpn_Button_Filter::set_all_momentary(), vrpn_Button_Filter::set_momentary(), vrpn_Button::set_toggle(), and vrpn_Button_Filter::set_toggle().
const int vrpn_BUTTON_TOGGLE_ON = 21 |
Definition at line 21 of file vrpn_Button.h.
Referenced by vrpn_Button_Filter::report_changes(), vrpn_raw_SGIBox::send_light_command(), vrpn_Button::set_toggle(), and vrpn_Button_Filter::set_toggle().
class VRPN_API vrpn_Connection |
Definition at line 10 of file vrpn_Button.h.