Panda3D
|
The Panda interface to a VRPN button. More...
#include "vrpnButtonDevice.h"
Public Member Functions | |
VrpnButtonDevice (VrpnClient *client, const string &device_name, VrpnButton *vrpn_button) | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
VrpnButton * | get_vrpn_button () const |
Returns a pointer to the particular VrpnButton this device gets its data from. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Friends | |
class | VrpnButton |
The Panda interface to a VRPN button.
This object will be returned by VrpnClient::make_device(), for attaching to a ButtonNode.
This class does not need to be exported from the DLL.
Definition at line 33 of file vrpnButtonDevice.h.
VrpnButton * VrpnButtonDevice::get_vrpn_button | ( | ) | const [inline] |
Returns a pointer to the particular VrpnButton this device gets its data from.
This pointer may be shared with other VrpnButtonDevice objects.
Definition at line 24 of file vrpnButtonDevice.I.
static void VrpnButtonDevice::init_type | ( | ) | [inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from ClientButtonDevice.
Definition at line 48 of file vrpnButtonDevice.h.