The Sparta Modeling Framework
|
This is the actual Lightweight Tracker class which does the. More...
#include <StateTracker.hpp>
Public Member Functions | |
StateTrackerUnit (Scheduler *scheduler) | |
StateTrackerUnit (const StateTrackerUnit &)=default | |
StateTrackerUnit (StateTrackerUnit &&rval) | |
template<typename EnumType > | |
void | startState (const EnumType &state_enum) |
This method starts the timer on this particular value of. | |
template<typename EnumType > | |
void | endState (const EnumType &state_enum) |
This method stops the timer on this particular value of. | |
void | updateLastDeltas () noexcept |
This method is called right before we send away a. | |
sparta::Scheduler::Tick | getActiveTime () const |
const StateSet< EnumT > & | getStateSet () const |
This is the actual Lightweight Tracker class which does the.
Definition at line 587 of file StateTracker.hpp.
|
inline |
Definition at line 589 of file StateTracker.hpp.
|
inline |
Definition at line 597 of file StateTracker.hpp.
|
inline |
This method stops the timer on this particular value of.
Definition at line 629 of file StateTracker.hpp.
|
inline |
Return the amount of time this state has been active in the current state
Definition at line 660 of file StateTracker.hpp.
|
inline |
Definition at line 665 of file StateTracker.hpp.
|
inline |
This method starts the timer on this particular value of.
Definition at line 607 of file StateTracker.hpp.
|
inlinenoexcept |
This method is called right before we send away a.
Definition at line 645 of file StateTracker.hpp.