33#ifndef TTA_GUARD_STATE_HH
34#define TTA_GUARD_STATE_HH
DirectGuardState(const DirectGuardState &)
Copying not allowed.
virtual void advanceClock()
const ReadableState * target_
The target register watched by this guard.
virtual const SimValue & value() const
DirectGuardState & operator=(const DirectGuardState &)
Assignment not allowed.
virtual ~DirectGuardState()
std::vector< SimValue > history_
Value history ring buffer.
GuardState(const GuardState &)
Copying not allowed.
const ReadableState * target_
The target register watched by this guard.
virtual const SimValue & value() const
virtual void advanceClock()
GuardState & operator=(const GuardState &)
Assignment not allowed.
GuardState()
Only subclasses allowed to create empty GuardStates.
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).
NullGuardState(const NullGuardState &)
Copying not allowed.
static NullGuardState & instance()
virtual ~NullGuardState()
NullGuardState & operator=(const NullGuardState &)
Assignment not allowed.