Scheduler
|
a single state of the state space More...
#include <priorityState.h>
Public Member Functions | |
virtual | ~PriorityState () |
virtual std::string | getName ()=0 |
returns the name of that state More... | |
virtual bool | isInState ()=0 |
Given the information provided by the DomainModel, this function checks if the system is in that state. More... | |
Protected Member Functions | |
template<typename T > | |
std::shared_ptr< T > | getModel () |
Protected Attributes | |
std::shared_ptr< DomainModel > | domainModel {nullptr} |
a single state of the state space
This class should be used to model states that do not belong to dimensions. The qualifier of "priority" comes from the fact that, when determining the current state, the framework first checks if the system is in any of the priority states, and if not, only then will determine what position the system has in the "dimensioned" part of the state space.
Definition at line 31 of file priorityState.h.
|
inlinevirtual |
Definition at line 36 of file priorityState.h.
|
inlineprotected |
Definition at line 46 of file priorityState.h.
|
pure virtual |
returns the name of that state
Implemented in Prio.
|
pure virtual |
Given the information provided by the DomainModel, this function checks if the system is in that state.
Implemented in Prio.
|
protected |
Definition at line 53 of file priorityState.h.