Class AbstractSimLoop

Inheritance Relationships

Derived Types

Class Documentation

class AbstractSimLoop

Common base class for simulation loops.

Subclassed by AsyncSimLoop, SimLoop

Public Types

enum State

Values:

enumerator State_Running
enumerator State_Step
enumerator State_Standby
enumerator State_Stopped
enumerator State_Done

Public Functions

explicit AbstractSimLoop(Device &device)
virtual ~AbstractSimLoop() = default
inline AbstractSimLoop::State state() const
inline cycle_count_t cycle() const
inline CycleManager &cycle_manager()
inline const Device &device() const
inline Logger &logger()

Protected Functions

cycle_count_t run_device(cycle_count_t final_cycle)
inline void set_state(AbstractSimLoop::State state)

Protected Attributes

Device &m_device
State m_state
CycleManager m_cycle_manager
Logger m_logger