#include <vrpn_Button.h>
继承自 vrpn_Button .
被 vrpn_3DConnexion, vrpn_3DMicroscribe, vrpn_ADBox, vrpn_BiosciencesTools, vrpn_Button_5DT_Server, vrpn_Button_Example_Server, vrpn_Button_NI_DIO24, vrpn_Button_Parallel, vrpn_Button_Serial, vrpn_Button_SerialMouse, vrpn_Button_Server, vrpn_CHProducts_Fighterstick_USB, vrpn_CerealBox, vrpn_Contour_ShuttlePROv2, vrpn_Contour_ShuttleXpress, vrpn_DreamCheeky_Drum_Kit, vrpn_Futaba_InterLink_Elite, vrpn_GlobalHapticsOrb, vrpn_Griffin_PowerMate, vrpn_IDEA, vrpn_ImmersionBox, vrpn_Joylin, vrpn_Joystick, vrpn_Keyboard, vrpn_Logitech_Extreme_3D_Pro, vrpn_Magellan, vrpn_Microsoft_Controller_Raw_Xbox_360_base, vrpn_Microsoft_Controller_Raw_Xbox_S, vrpn_Microsoft_SideWinder, vrpn_Microsoft_SideWinder_Precision_2, vrpn_Mouse, vrpn_Retrolink_GameCube, vrpn_Retrolink_Genesis, vrpn_Saitek_ST290_Pro, vrpn_Spaceball, vrpn_Streaming_Arduino, vrpn_Tng3, vrpn_Tracker_3DMouse, vrpn_Tracker_DTrack, vrpn_Tracker_RazerHydra, vrpn_VPJoystick, vrpn_Wanda, vrpn_Xkeys_Desktop, vrpn_Xkeys_Jog_And_Shuttle, vrpn_Xkeys_Jog_And_Shuttle12, vrpn_Xkeys_Jog_And_Shuttle68, vrpn_Xkeys_Joystick, vrpn_Xkeys_Joystick12, vrpn_Xkeys_Pro, vrpn_Xkeys_XK3, vrpn_YEI_3Space, vrpn_inertiamouse, vrpn_nVidia_shield_USB, vrpn_nVidia_shield_stealth_USB , 以及 vrpn_raw_SGIBox 继承.
|
vrpn_int32 | buttonstate [vrpn_BUTTON_MAX_BUTTONS] |
|
bool | shutup |
|
|
int | send_alerts |
|
vrpn_int32 | alert_message_id |
|
unsigned char | buttons [vrpn_BUTTON_MAX_BUTTONS] |
|
unsigned char | lastbuttons [vrpn_BUTTON_MAX_BUTTONS] |
|
vrpn_int32 | minrate [vrpn_BUTTON_MAX_BUTTONS] |
|
vrpn_int32 | num_buttons |
|
struct timeval | timestamp |
|
vrpn_int32 | change_message_id |
|
vrpn_int32 | states_message_id |
|
vrpn_int32 | admin_message_id |
|
vrpn_Connection * | d_connection |
| Connection that this object talks to
|
|
char * | d_servicename |
|
vrpn_int32 | d_sender_id |
| part
|
|
vrpn_int32 | d_text_message_id |
| ID for text messages
|
|
vrpn_int32 | d_ping_message_id |
| Ask the server if they are there
|
|
vrpn_int32 | d_pong_message_id |
| Server telling that it is there
|
|
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).
◆ encode_states_to()
virtual vrpn_int32 encode_states_to |
( |
char * | buf | ) |
|
|
protectedvirtual |
◆ report_changes()
virtual void report_changes |
( |
void | | ) |
|
|
protectedvirtual |
◆ set_all_momentary()
virtual void set_all_momentary |
( |
void | | ) |
|
|
virtual |
◆ set_all_toggle()
virtual void set_all_toggle |
( |
vrpn_int32 | default_state | ) |
|
|
virtual |
◆ set_momentary()
virtual void set_momentary |
( |
vrpn_int32 | which_button | ) |
|
|
virtual |
◆ set_toggle()
virtual void set_toggle |
( |
vrpn_int32 | which_button, |
|
|
vrpn_int32 | current_state ) |
|
virtual |
该类的文档由以下文件生成: