Orxonox
0.0.5 Codename: Arcturus
|
Interface for creating devices - all devices ultimately get enumerated/created via a factory. More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/ois/OISFactoryCreator.h>
Public Member Functions | |
virtual | ~FactoryCreator () |
virtual Object * | createObject (InputManager *creator, Type iType, bool bufferMode, const std::string &vendor="")=0 |
virtual void | destroyObject (Object *obj)=0 |
virtual DeviceList | freeDeviceList ()=0 |
virtual int | freeDevices (Type iType)=0 |
virtual int | totalDevices (Type iType)=0 |
virtual bool | vendorExist (Type iType, const std::string &vendor)=0 |
Interface for creating devices - all devices ultimately get enumerated/created via a factory.
A factory can create multiple types of objects.
|
inlinevirtual |
|
pure virtual |
iType | Type to create |
bufferMode | True to setup for buffered events |
vendor | Create a device with the vendor name, "" means vendor name is unimportant |
Implemented in OIS::MacHIDManager, OIS::LinuxInputManager, OIS::MacInputManager, and OIS::Win32InputManager.
obj | Object to destroy |
Implemented in OIS::MacHIDManager, OIS::LinuxInputManager, OIS::MacInputManager, and OIS::Win32InputManager.
|
pure virtual |
Implemented in OIS::MacHIDManager, OIS::LinuxInputManager, OIS::MacInputManager, and OIS::Win32InputManager.
|
pure virtual |
iType | Type of devices to check |
Implemented in OIS::MacHIDManager, OIS::LinuxInputManager, OIS::MacInputManager, and OIS::Win32InputManager.
|
pure virtual |
iType | Type of devices to check |
Implemented in OIS::MacHIDManager, OIS::LinuxInputManager, OIS::MacInputManager, and OIS::Win32InputManager.
|
pure virtual |
iType | Type to check |
vendor | Vendor name to test |
Implemented in OIS::MacHIDManager, OIS::LinuxInputManager, OIS::MacInputManager, and OIS::Win32InputManager.