|
stmm-games-doc
0.32.0
|
Fake device that implements the joystick capability. More...

Public Member Functions | |
| FakeJoystickDevice (const shared_ptr< DeviceManager > &refDeviceManager, const std::string &sName) noexcept | |
| FakeJoystickDevice () noexcept | |
Public Member Functions inherited from stmi::testing::FakeDevice< FakeJoystickCapability > | |
| FakeDevice (const shared_ptr< DeviceManager > &refDeviceManager, const std::string &sName, const shared_ptr< FakeJoystickCapability > &refCapability) noexcept | |
| Constructor. More... | |
| std::string | getName () const noexcept override |
| shared_ptr< DeviceManager > | getDeviceManager () const noexcept override |
| The device manager that manages the device. More... | |
| shared_ptr< Capability > | getCapability (const Capability::Class &oClass) const noexcept override |
| Requests the instance of a capability class. More... | |
| shared_ptr< Capability > | getCapability (int32_t nCapabilityId) const noexcept override |
| Returns the capability with the given id, or null if not found. More... | |
| std::vector< Capability::Class > | getCapabilityClasses () const noexcept override |
| The capability classes supported by this device. More... | |
| std::vector< int32_t > | getCapabilities () const noexcept override |
| Returns the ids of all the device's capabilities. More... | |
Public Member Functions inherited from stmi::Device | |
| virtual | ~Device () noexcept=default |
| int32_t | getId () const noexcept |
| The device id. More... | |
| template<typename TCapa > | |
| bool | getCapability (shared_ptr< TCapa > &refCapa) const noexcept |
| Request a registered capability from this device. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from stmi::Device | |
| Device () noexcept | |
Fake device that implements the joystick capability.
|
inlinenoexcept |
|
inlinenoexcept |
1.8.13