stmm-input-doc  0.17.0
Public Member Functions | Protected Member Functions | List of all members
stmi::DeviceManagerCapability Class Referenceabstract

DeviceManager capabilities should derive from this class. More...

Inheritance diagram for stmi::DeviceManagerCapability:
Inheritance graph
[legend]

Public Member Functions

shared_ptr< DevicegetDevice () const noexcept override
 Returns null. More...
 
virtual shared_ptr< DeviceManagergetDeviceManager () const noexcept=0
 Returns the device manager owning this capability, if any. More...
 
- Public Member Functions inherited from stmi::Capability
virtual ~Capability () noexcept=default
 
int32_t getId () const noexcept
 The capability id. More...
 
const ClassgetCapabilityClass () const noexcept
 Get the registered class of the capability instance. More...
 

Protected Member Functions

 DeviceManagerCapability (const Class &oClass) noexcept
 
- Protected Member Functions inherited from stmi::Capability
 Capability (const Class &oClass) noexcept
 Constructor to be called from subclasses. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from stmi::Capability
static bool isCapabilityClassIdRegistered (const std::string &sCapabilityClassId) noexcept
 Tells whether the given capability class id is registered. More...
 
static Class getCapabilityClassIdClass (const std::string &sCapabilityClassId) noexcept
 Gets the class with given class id. More...
 
- Static Protected Member Functions inherited from stmi::Capability
static bool isCapabilityTypeRegistered (const std::type_info &oCapabilityType) noexcept
 Tells whether a capability type was registered. More...
 
static const std::type_info & getCapabilityClassIdType (const std::string &sCapabilityClassId, bool &bRegistered) noexcept
 Gets the type of the registered capability subclass associated with class id. More...
 
static std::string getCapabilityTypeClassId (const std::type_info &oType) noexcept
 Gets the class id of the given type. More...
 

Detailed Description

DeviceManager capabilities should derive from this class.

Constructor & Destructor Documentation

◆ DeviceManagerCapability()

stmi::DeviceManagerCapability::DeviceManagerCapability ( const Class oClass)
explicitprotectednoexcept

Member Function Documentation

◆ getDevice()

shared_ptr<Device> stmi::DeviceManagerCapability::getDevice ( ) const
inlineoverridevirtualnoexcept

Returns null.

Implements stmi::Capability.

◆ getDeviceManager()

virtual shared_ptr<DeviceManager> stmi::DeviceManagerCapability::getDeviceManager ( ) const
pure virtualnoexcept

Returns the device manager owning this capability, if any.