#include <OISFactoryCreator.h>
Interface for creating devices - all devices ultimately get enumerated/created via a factory. A factory can create multiple types of objects.
◆ ~FactoryCreator()
virtual OIS::FactoryCreator::~FactoryCreator |
( |
| ) |
|
|
inlinevirtual |
◆ createObject()
virtual Object* OIS::FactoryCreator::createObject |
( |
InputManager * |
creator, |
|
|
Type |
iType, |
|
|
bool |
bufferMode, |
|
|
const std::string & |
vendor = "" |
|
) |
| |
|
pure virtual |
- Parameters
-
iType | Type to create |
bufferMode | True to setup for buffered events |
vendor | Create a device with the vendor name, "" means vendor name is unimportant |
◆ destroyObject()
virtual void OIS::FactoryCreator::destroyObject |
( |
Object * |
obj | ) |
|
|
pure virtual |
◆ freeDeviceList()
virtual DeviceList OIS::FactoryCreator::freeDeviceList |
( |
| ) |
|
|
pure virtual |
◆ freeDevices()
virtual int OIS::FactoryCreator::freeDevices |
( |
Type |
iType | ) |
|
|
pure virtual |
- Parameters
-
iType | Type of devices to check |
◆ totalDevices()
virtual int OIS::FactoryCreator::totalDevices |
( |
Type |
iType | ) |
|
|
pure virtual |
- Parameters
-
iType | Type of devices to check |
◆ vendorExist()
virtual bool OIS::FactoryCreator::vendorExist |
( |
Type |
iType, |
|
|
const std::string & |
vendor |
|
) |
| |
|
pure virtual |
- Parameters
-
iType | Type to check |
vendor | Vendor name to test |
The documentation for this class was generated from the following file: