omegalib  13.1
omicron::LegacyDirectInputService Class Reference

#include <LegacyDirectInputService.h>

Public Types

enum  ControllerType {
  Xbox360, PS3, Wiimote, Wii_Nunchuk,
  Wii_MotionPlus
}
 
- 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 OMICRON_API void initialize ()
 
virtual void poll ()
 
virtual OMICRON_API 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 ()
 
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 LegacyDirectInputServiceNew ()
 
- 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
 
+ Inheritance diagram for omicron::LegacyDirectInputService:

Member Enumeration Documentation

Enumerator
Xbox360 
PS3 
Wiimote 
Wii_Nunchuk 
Wii_MotionPlus 

Member Function Documentation

void omicron::LegacyDirectInputService::checkForNewControllers ( )
virtual OMICRON_API void omicron::LegacyDirectInputService::dispose ( )
virtual

Reimplemented from omicron::Service.

float omicron::LegacyDirectInputService::getUpdateInterval ( )
virtual OMICRON_API void omicron::LegacyDirectInputService::initialize ( )
virtual

Reimplemented from omicron::Service.

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

Reimplemented from omicron::Service.

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

Reimplemented from omicron::Service.

void omicron::LegacyDirectInputService::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.


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