ifw-sup 5.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MySubsystem Class Reference

The MySubsystem class. More...

Inheritance diagram for MySubsystem:

Public Member Functions

 MySubsystem (const std::string name, ifw::sup::syssup::common::Config &config, ifw::sup::syssup::common::DataContext &data_ctx)
 
std::optional< elt::mal::future< void > > Connect ()
 
void Close ()
 
elt::mal::future< std::string > Init ()
 
elt::mal::future< std::string > Enable ()
 
elt::mal::future< std::string > Disable ()
 
elt::mal::future< std::string > Reset ()
 
elt::mal::future< std::string > Stop ()
 
elt::mal::future< std::string > GetState ()
 
elt::mal::future< std::string > GetStatus ()
 
elt::mal::future< std::string > GetVersion ()
 
void Setup (const std::any &payload)
 
std::string GetName () const
 
void Status (const std::string &payload, std::string &buffer)
 
void StartSubscription ()
 
void StopSubscription ()
 
void UpdateConfig ()
 

Detailed Description

The MySubsystem class.

The purpose of this dummy class is to validate the registration of a custom class into the subsystem factory.

Constructor & Destructor Documentation

◆ MySubsystem()

MySubsystem::MySubsystem ( const std::string name,
ifw::sup::syssup::common::Config & config,
ifw::sup::syssup::common::DataContext & data_ctx )
inline

Member Function Documentation

◆ Close()

void MySubsystem::Close ( )
inline

◆ Connect()

std::optional< elt::mal::future< void > > MySubsystem::Connect ( )
inline

◆ Disable()

elt::mal::future< std::string > MySubsystem::Disable ( )
inline

◆ Enable()

elt::mal::future< std::string > MySubsystem::Enable ( )
inline

◆ GetName()

std::string MySubsystem::GetName ( ) const
inline

◆ GetState()

elt::mal::future< std::string > MySubsystem::GetState ( )
inline

◆ GetStatus()

elt::mal::future< std::string > MySubsystem::GetStatus ( )
inline

◆ GetVersion()

elt::mal::future< std::string > MySubsystem::GetVersion ( )
inline

◆ Init()

elt::mal::future< std::string > MySubsystem::Init ( )
inline

◆ Reset()

elt::mal::future< std::string > MySubsystem::Reset ( )
inline

◆ Setup()

void MySubsystem::Setup ( const std::any & payload)
inline

◆ StartSubscription()

void MySubsystem::StartSubscription ( )
inline

◆ Status()

void MySubsystem::Status ( const std::string & payload,
std::string & buffer )
inline

◆ Stop()

elt::mal::future< std::string > MySubsystem::Stop ( )
inline

◆ StopSubscription()

void MySubsystem::StopSubscription ( )
inline

◆ UpdateConfig()

void MySubsystem::UpdateConfig ( )
inline

The documentation for this class was generated from the following file: