Miind
|
#include <libs/MPILib/include/NetworkState.hpp>
Public Member Functions | |
NetworkState (Time) | |
EvolveResult | getResult () const |
bool | isConfigured () const |
void | setResult (EvolveResult result) |
void | toggleConfigured () |
Public Attributes | |
Time | _currentTime |
bool | _isConfigured = false |
EvolveResult | _result = NOT_RUN |
Definition at line 36 of file NetworkState.hpp.
MPILib::NetworkState::NetworkState | ( | Time | time_current | ) |
Constructor
Definition at line 23 of file NetworkState.cpp.
EvolveResult MPILib::NetworkState::getResult | ( | ) | const |
Getter for the Network State result
Definition at line 39 of file NetworkState.cpp.
References _result.
bool MPILib::NetworkState::isConfigured | ( | ) | const |
Check is Network is configured
Definition at line 27 of file NetworkState.cpp.
References _isConfigured.
void MPILib::NetworkState::setResult | ( | EvolveResult | result | ) |
Set the Result
result | The Result the Network State should be set |
Definition at line 35 of file NetworkState.cpp.
References _result.
void MPILib::NetworkState::toggleConfigured | ( | ) |
Time MPILib::NetworkState::_currentTime |
Definition at line 37 of file NetworkState.hpp.
bool MPILib::NetworkState::_isConfigured = false |
Definition at line 38 of file NetworkState.hpp.
Referenced by isConfigured(), and toggleConfigured().
EvolveResult MPILib::NetworkState::_result = NOT_RUN |
Definition at line 39 of file NetworkState.hpp.
Referenced by getResult(), and setResult().