onboardapi  9.10.0
by Rheinmetall
M_Device Namespace Reference

Classes

class  IService
 
class  IClient
 
struct  HardwareInfoType
 Contains hardware information. More...
 
struct  SoftwareVersionType
 Contains software version information. More...
 
struct  DeviceSettingsType
 Contains settings for a device. More...
 
struct  DeviceStatusType
 Contains the status for a device. More...
 
struct  CmdIsDeviceAlive
 
struct  CmdEnableDevice
 Enable or disable the device, i.e. power on and establish connection. More...
 
struct  CmdShutdownDevice
 Shut down the device, i.e. power off and disconnect. More...
 
struct  CmdRestartDevice
 Restart the device. More...
 
struct  CmdSetDeviceMode
 
struct  CmdSetValue
 Set a specified value. More...
 
struct  CmdSetValueIncrementally
 Incrementally change a specified value. More...
 
struct  RequestValue
 Instruct the service to provide the requesting client with a specified value. More...
 
struct  ReportDeviceSettings
 Report the settings of a device service. More...
 
struct  ReportDeviceStatus
 Report the current status of a device. More...
 
struct  ReportValue
 Report a specified value. More...
 
struct  ResponseValue
 Response to a request to transmit a specified value. More...
 
class  Service
 new oo-api More...
 
class  Client
 new oo-api More...
 

Typedefs

typedef std::vector< M_Device::HardwareInfoTypeHardwareInfoListType
 List of HardwareInfoType. More...
 
typedef std::vector< M_Device::SoftwareVersionTypeSoftwareVersionListType
 List of SoftwareVersionType. More...
 
typedef std::shared_ptr< IClientIClientPtr
 
typedef std::shared_ptr< IServiceIServicePtr
 

Functions

std::vector< std::string > getMethodsAllIService ()
 
std::vector< std::string > getMethodsAllIClient ()
 
template<class IServiceDerived >
std::enable_if< std::is_same< IServiceDerived, std::vector< ddkit::callback::Base * > >::value, std::map< std::string, std::vector< ddkit::callback::Base * > > >::type detectCallbacksIService (IServiceDerived &callbacks)
 
template<class IServiceDerived >
std::enable_if< std::is_same< IServiceDerived, std::vector< ddkit::callback::Base * > >::value, std::vector< std::string > >::type detectMethodsIService (IServiceDerived &callbacks, bool isCheckMostDerivedClassType)
 
template<class IServiceDerived >
std::enable_if<!std::is_same< IServiceDerived, std::vector< ddkit::callback::Base * > >::value, std::vector< std::string > >::type detectMethodsIService (IServiceDerived &callbacks, bool isCheckMostDerivedClassType)
 
template<class IClientDerived >
std::enable_if< std::is_same< IClientDerived, std::vector< ddkit::callback::Base * > >::value, std::map< std::string, std::vector< ddkit::callback::Base * > > >::type detectCallbacksIClient (IClientDerived &callbacks)
 
template<class IClientDerived >
std::enable_if< std::is_same< IClientDerived, std::vector< ddkit::callback::Base * > >::value, std::vector< std::string > >::type detectMethodsIClient (IClientDerived &callbacks, bool isCheckMostDerivedClassType)
 
template<class IClientDerived >
std::enable_if<!std::is_same< IClientDerived, std::vector< ddkit::callback::Base * > >::value, std::vector< std::string > >::type detectMethodsIClient (IClientDerived &callbacks, bool isCheckMostDerivedClassType)
 

Typedef Documentation

◆ HardwareInfoListType

◆ IClientPtr

typedef std::shared_ptr<IClient> M_Device::IClientPtr

◆ IServicePtr

typedef std::shared_ptr<IService> M_Device::IServicePtr

◆ SoftwareVersionListType

Function Documentation

◆ detectCallbacksIClient()

template<class IClientDerived >
std::enable_if<std::is_same<IClientDerived, std::vector<ddkit::callback::Base*> >::value, std::map<std::string, std::vector<ddkit::callback::Base*> > >::type M_Device::detectCallbacksIClient ( IClientDerived &  callbacks)

◆ detectCallbacksIService()

template<class IServiceDerived >
std::enable_if<std::is_same<IServiceDerived, std::vector<ddkit::callback::Base*> >::value, std::map<std::string, std::vector<ddkit::callback::Base*> > >::type M_Device::detectCallbacksIService ( IServiceDerived &  callbacks)

◆ detectMethodsIClient() [1/2]

template<class IClientDerived >
std::enable_if<std::is_same<IClientDerived, std::vector<ddkit::callback::Base*> >::value, std::vector<std::string> >::type M_Device::detectMethodsIClient ( IClientDerived &  callbacks,
bool  isCheckMostDerivedClassType 
)

◆ detectMethodsIClient() [2/2]

template<class IClientDerived >
std::enable_if<!std::is_same<IClientDerived, std::vector<ddkit::callback::Base*> >::value, std::vector<std::string> >::type M_Device::detectMethodsIClient ( IClientDerived &  callbacks,
bool  isCheckMostDerivedClassType 
)

◆ detectMethodsIService() [1/2]

template<class IServiceDerived >
std::enable_if<std::is_same<IServiceDerived, std::vector<ddkit::callback::Base*> >::value, std::vector<std::string> >::type M_Device::detectMethodsIService ( IServiceDerived &  callbacks,
bool  isCheckMostDerivedClassType 
)

◆ detectMethodsIService() [2/2]

template<class IServiceDerived >
std::enable_if<!std::is_same<IServiceDerived, std::vector<ddkit::callback::Base*> >::value, std::vector<std::string> >::type M_Device::detectMethodsIService ( IServiceDerived &  callbacks,
bool  isCheckMostDerivedClassType 
)

◆ getMethodsAllIClient()

std::vector<std::string> M_Device::getMethodsAllIClient ( )

◆ getMethodsAllIService()

std::vector<std::string> M_Device::getMethodsAllIService ( )