|
ifw-sup
1.0.0
|
#include <config.hpp>
Public Member Functions | |
| std::optional< ScopeEnum > | GetScope (std::string scope_str) const |
| Get associated subsystem scope. More... | |
| ScopeEnum | GetScope () const |
| Get actual subsystem scope. More... | |
| void | SetScope (ScopeEnum scope) |
| Set subsystem scope. More... | |
| std::string | GetType () const |
| Get actual subsystem type. More... | |
| void | SetType (std::string type) |
| Set subsystem type. More... | |
| std::string | GetRrEndPoint () const |
| Get actual subsystem Req/Rep end point. More... | |
| void | SetRrEndPoint (std::string rr_endpoint) |
| Set subsystem Req/Rep end point. More... | |
| std::string | GetPsEndPoint () const |
| Get actual subsystem Pub/Sub end point. More... | |
| void | SetPsEndPoint (std::string ps_endpoint) |
| Set subsystem Pub/Sub end point. More... | |
| bool | GetAccess () const |
| Get actual saccess flag. More... | |
| void | SetAccess (bool access) |
| Set subsystem access flag. More... | |
Protected Attributes | |
| ScopeEnum | m_scope {ScopeEnum::INTERNAL} |
| actual subsystem scope. More... | |
| std::string | m_type {"Generic"} |
| actual subsystem class type. More... | |
| std::string | m_rr_endpoint {""} |
| actual subsystem rr endpoint. More... | |
| std::string | m_ps_endpoint {""} |
| actual subsystem ps endpoint. More... | |
| bool | m_access {false} |
| actual subsystem access flag. More... | |
This class provide access to subsystem configuration parameters read from the configuration file. Once configuration are read from the configuration file they can be modified at run-time.
|
inline |
Get actual saccess flag.
|
inline |
Get actual subsystem Pub/Sub end point.
|
inline |
Get actual subsystem Req/Rep end point.
|
inline |
Get actual subsystem scope.
|
inline |
Get associated subsystem scope.
| scope_str | scope as string |
This method returns the associated enumeration to the scope string provided.
|
inline |
Get actual subsystem type.
|
inline |
Set subsystem access flag.
| access |
|
inline |
Set subsystem Pub/Sub end point.
| ps_endpoint |
|
inline |
Set subsystem Req/Rep end point.
| rr_endpoint |
|
inline |
Set subsystem scope.
| scope | scope enumeration |
|
inline |
Set subsystem type.
| type |
|
protected |
actual subsystem access flag.
|
protected |
actual subsystem ps endpoint.
|
protected |
actual subsystem rr endpoint.
|
protected |
actual subsystem scope.
|
protected |
actual subsystem class type.