onboardapi  9.10.0
by Rheinmetall
M_GenericInputOutput Namespace Reference

Classes

class  IService
 
class  IClient
 
struct  InputOutputData
 Contains some input/output data. More...
 
struct  InputOutputSettings
 Contains settings for an input/ouput interface. More...
 
struct  InputOutputConfiguration
 Contains the configuration of an input/output interface. More...
 
struct  InputOutputStatus
 Contains the status of the input/output interface. More...
 
struct  ConfigInterfaceProperties
 Configure the interface properties. More...
 
struct  CmdRead
 
struct  CmdWriteData
 Commands to write binary data to the interface. More...
 
struct  CmdReadRegister
 Commands to read a speicified register. More...
 
struct  CmdWriteRegister
 Command to write to a specified register. More...
 
struct  CmdStopWriting
 Command to stop writing. More...
 
struct  ReportInputOutputSettings
 Report of generic I/O interface settings. More...
 
struct  ReportInputOutputStatus
 Report status of generic I/O interface. More...
 
struct  ReportRegister
 Report value of a register. More...
 
struct  ReportActiveErrors
 Report all active errors. More...
 
struct  EventDataReceived
 Event of read data by the interface service. More...
 
class  Service
 new oo-api More...
 
class  Client
 new oo-api More...
 

Typedefs

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

◆ IClientPtr

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

◆ IServicePtr

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

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_GenericInputOutput::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_GenericInputOutput::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_GenericInputOutput::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_GenericInputOutput::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_GenericInputOutput::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_GenericInputOutput::detectMethodsIService ( IServiceDerived &  callbacks,
bool  isCheckMostDerivedClassType 
)

◆ getMethodsAllIClient()

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

◆ getMethodsAllIService()

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