|
ifw-sup
1.0.0
|
The SubsysData struct. More...
#include <subsys.hpp>
Public Types | |
| enum | ConnectionEnum : short { ConnectionEnum::CONNECTED = 10, ConnectionEnum::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 |
Protected Attributes | |
| ConnectionEnum | m_connection {ConnectionEnum::NOT_CONNECTED} |
| connection status More... | |
| State::StateEnum | m_state |
| actual state More... | |
| State::SubstateEnum | m_substate |
| actual substate More... | |
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 |
|
protected |
connection status
|
protected |
actual state
|
protected |
actual substate