#include <src/ois/OISFactoryCreator.h>
Public Member Functions | |
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 |
virtual | ~FactoryCreator () |
virtual OIS::FactoryCreator::~FactoryCreator | ( | ) | [inline, virtual] |
virtual Object* OIS::FactoryCreator::createObject | ( | InputManager * | creator, | |
Type | iType, | |||
bool | bufferMode, | |||
const std::string & | vendor = "" | |||
) | [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::LinuxInputManager, OIS::MacHIDManager, OIS::MacInputManager, and OIS::Win32InputManager.
virtual void OIS::FactoryCreator::destroyObject | ( | Object * | obj | ) | [pure virtual] |
obj | Object to destroy |
Implemented in OIS::LinuxInputManager, OIS::MacHIDManager, OIS::MacInputManager, and OIS::Win32InputManager.
virtual DeviceList OIS::FactoryCreator::freeDeviceList | ( | ) | [pure virtual] |
Implemented in OIS::LinuxInputManager, OIS::MacHIDManager, OIS::MacInputManager, and OIS::Win32InputManager.
virtual int OIS::FactoryCreator::freeDevices | ( | Type | iType | ) | [pure virtual] |
iType | Type of devices to check |
Implemented in OIS::LinuxInputManager, OIS::MacHIDManager, OIS::MacInputManager, and OIS::Win32InputManager.
virtual int OIS::FactoryCreator::totalDevices | ( | Type | iType | ) | [pure virtual] |
iType | Type of devices to check |
Implemented in OIS::LinuxInputManager, OIS::MacHIDManager, OIS::MacInputManager, and OIS::Win32InputManager.
virtual bool OIS::FactoryCreator::vendorExist | ( | Type | iType, | |
const std::string & | vendor | |||
) | [pure virtual] |
iType | Type to check | |
vendor | Vendor name to test |
Implemented in OIS::LinuxInputManager, OIS::MacHIDManager, OIS::MacInputManager, and OIS::Win32InputManager.