omegalib  13.1
omicron::VRPNService Class Reference

#include <VRPNService.h>

Public Member Functions

void setup (Setting &settings)
 
virtual void initialize ()
 
virtual void poll ()
 
virtual void dispose ()
 
void generateTrackerEvent (vrpn_TRACKERCB, int, unsigned short userId, int jointId)
 
void generateButtonEvent (VRPNStruct *, int, int buttonID, int stateFlag)
 
void setUpdateInterval (float value)
 Sets the data update interval, in seconds. More...
 
float getUpdateInterval ()
 
- Public Member Functions inherited from omicron::Service
 Service ()
 
int getServiceId ()
 
virtual ~Service ()
 
ServiceManagergetManager ()
 
String getName ()
 
bool isInitialized ()
 
bool isDebugEnabled ()
 Returns true if debug mode is enabled for this service. More...
 
ServicePollPriority getPollPriority ()
 
void setPollPriority (ServicePollPriority value)
 
virtual void start ()
 
virtual void stop ()
 
void lockEvents ()
 
void unlockEvents ()
 
EventwriteHead ()
 
EventreadHead ()
 
EventreadTail ()
 
EventgetEvent (int index)
 
void doSetup (ServiceManager *mng, Setting &settings)
 
void doInitialize (ServiceManager *sm, int serviceId)
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Static Public Member Functions

static VRPNServiceNew ()
 
- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 

Additional Inherited Members

- Public Types inherited from omicron::Service
enum  ServiceType {
  Pointer = EventBase::ServiceTypePointer, Mocap = EventBase::ServiceTypeMocap, Keyboard = EventBase::ServiceTypeKeyboard, Controller = EventBase::ServiceTypeController,
  Ui = EventBase::ServiceTypeUi, Generic = EventBase::ServiceTypeGeneric, Brain = EventBase::ServiceTypeBrain, Wand = EventBase::ServiceTypeWand,
  Speech = EventBase::ServiceTypeSpeech
}
 This enumeration is kept for compatibility reason and may be removed in the future. More...
 
enum  ServicePollPriority { PollFirst, PollNormal, PollLast }
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omicron::VRPNService:

Member Function Documentation

virtual void omicron::VRPNService::dispose ( )
virtual

Reimplemented from omicron::Service.

void omicron::VRPNService::generateButtonEvent ( VRPNStruct ,
int  ,
int  buttonID,
int  stateFlag 
)
void omicron::VRPNService::generateTrackerEvent ( vrpn_TRACKERCB  ,
int  ,
unsigned short  userId,
int  jointId 
)
float omicron::VRPNService::getUpdateInterval ( )
inline
virtual void omicron::VRPNService::initialize ( )
virtual

Reimplemented from omicron::Service.

static VRPNService* omicron::VRPNService::New ( )
inlinestatic
virtual void omicron::VRPNService::poll ( )
virtual

Reimplemented from omicron::Service.

void omicron::VRPNService::setup ( Setting settings)
virtual

Reimplemented from omicron::Service.

void omicron::VRPNService::setUpdateInterval ( float  value)
inline

Sets the data update interval, in seconds.

This is the interval at which this service will generate events If set to zero, the service will generate events as fast as possible.


The documentation for this class was generated from the following file: