omegalib  13.1
omicron::SagePointerService Class Reference

Implements a service able to receive pointer updates from the SAGE pointer application. More...

#include <SagePointerService.h>

Public Member Functions

 SagePointerService ()
 
 ~SagePointerService ()
 
virtual void setup (Setting &settings)
 
virtual void poll ()
 
SagePointerConnectiondoesPointerExist (String pointerInfo)
 
void addClient (String clientNameAddr, SagePointerConnection *conn)
 
- 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 initialize ()
 
virtual void start ()
 
virtual void stop ()
 
virtual void dispose ()
 
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 SagePointerServiceNew ()
 Allocator function (will be used to register the service inside SystemManager) More...
 
- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 

Friends

class SagePointerConnection
 

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
 

Detailed Description

Implements a service able to receive pointer updates from the SAGE pointer application.

+ Inheritance diagram for omicron::SagePointerService:

Constructor & Destructor Documentation

omicron::SagePointerService::SagePointerService ( )
omicron::SagePointerService::~SagePointerService ( )

Member Function Documentation

void omicron::SagePointerService::addClient ( String  clientNameAddr,
SagePointerConnection conn 
)
inline
SagePointerConnection* omicron::SagePointerService::doesPointerExist ( String  pointerInfo)
static SagePointerService* omicron::SagePointerService::New ( )
inlinestatic

Allocator function (will be used to register the service inside SystemManager)

virtual void omicron::SagePointerService::poll ( )
virtual

Reimplemented from omicron::Service.

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

Reimplemented from omicron::Service.

Friends And Related Function Documentation

friend class SagePointerConnection
friend

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