omegalib
13.1
|
#include <DirectInputService.h>
Public Types | |
enum | ControllerType { Invalid, Xbox360, PS3 } |
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 } |
Public Member Functions | |
void | setup (Setting &settings) |
virtual void | initialize () |
virtual void | poll () |
virtual void | dispose () |
void | checkForNewControllers () |
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 () |
ServiceManager * | getManager () |
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 () |
Event * | writeHead () |
Event * | readHead () |
Event * | readTail () |
Event * | getEvent (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 DirectInputService * | New () |
Static Public Member Functions inherited from omicron::ReferenceType | |
static void | printObjCounts () |
Additional Inherited Members | |
Static Protected Attributes inherited from omicron::ReferenceType | |
static List< ReferenceType * > | mysObjList |
void omicron::DirectInputService::checkForNewControllers | ( | ) |
|
virtual |
Reimplemented from omicron::Service.
float omicron::DirectInputService::getUpdateInterval | ( | ) |
|
virtual |
Reimplemented from omicron::Service.
|
inlinestatic |
|
virtual |
Reimplemented from omicron::Service.
|
virtual |
Reimplemented from omicron::Service.
void omicron::DirectInputService::setUpdateInterval | ( | float | value | ) |
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.