Go to the documentation of this file.
33 #ifndef TTA_GUARD_STATE_HH
34 #define TTA_GUARD_STATE_HH
std::vector< SimValue > history_
Value history ring buffer.
virtual void advanceClock()
GuardState & operator=(const GuardState &)
Assignment not allowed.
int position_
History ring buffer position. Point to the index of the current value of the guard.
static NullGuardState instance_
Unique instance of NullGuardState (singleton).
virtual ~NullGuardState()
static NullGuardState & instance()
const ReadableState * target_
The target register watched by this guard.
GuardState()
Only subclasses allowed to create empty GuardStates.
virtual void advanceClock()
virtual const SimValue & value() const
DirectGuardState & operator=(const DirectGuardState &)
Assignment not allowed.
virtual ~DirectGuardState()
virtual const SimValue & value() const
const ReadableState * target_
The target register watched by this guard.
NullGuardState & operator=(const NullGuardState &)
Assignment not allowed.