Panda3D
Public Member Functions | Static Public Member Functions | Friends

VrpnButtonDevice Class Reference

The Panda interface to a VRPN button. More...

#include "vrpnButtonDevice.h"

Inheritance diagram for VrpnButtonDevice:
ClientButtonDevice ClientDevice TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

 VrpnButtonDevice (VrpnClient *client, const string &device_name, VrpnButton *vrpn_button)
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
VrpnButtonget_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

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations