ifw-sup
3.0.0-pre3
|
The SubsysData struct. More...
#include <subsys.hpp>
Public Types | |
enum class | ConnectionEnum : short { CONNECTED = 10 , NOT_CONNECTED = 11 } |
Public Member Functions | |
State::StateEnum | GetState () const |
GetState. More... | |
void | SetState (const std::string state) |
SetState. More... | |
State::SubstateEnum | GetSubstate () const |
GetSubstate. More... | |
void | SetSubstate (const std::string subtate) |
SetSubstate. More... | |
void | SetConnection (const SubsysData::ConnectionEnum connection) |
SetConnection. More... | |
ConnectionEnum | GetConnection () const |
GetConnection. More... | |
std::string | GetConnectionStr () const |
GetConnectionStr. More... | |
Public Attributes | |
const std::map< ConnectionEnum, std::string > | ConnectionMap |
The SubsysData struct.
This structure is used to store the basic status information about a subsystems managed by the Supervisor. Subsystem classes will get the status information from the subsystems and it will store it in this structure.
|
strong |
|
inline |
GetConnection.
|
inline |
GetConnectionStr.
|
inline |
GetState.
|
inline |
GetSubstate.
|
inline |
SetConnection.
connection |
|
inline |
SetState.
state |
|
inline |
SetSubstate.
subtate |
const std::map<ConnectionEnum, std::string> sup::syssup::common::SubsysData::ConnectionMap |