Go to the documentation of this file.
33 #ifndef TTA_STOP_POINT_MANAGER_HH
34 #define TTA_STOP_POINT_MANAGER_HH
61 void enable(
unsigned int handle);
67 void disable(
unsigned int handle);
75 void setIgnore(
unsigned int handle,
unsigned int count);
void enableOnceAndDelete(unsigned int handle)
std::map< unsigned int, StopPoint * > StopPointIndex
The breakpoint storage.
unsigned int handleCount_
Represents the next free handle.
TTASimulationController & controller_
The simulation controller to use to stop the simulation.
unsigned int add(const StopPoint &stopPoint)
SimulationEventHandler & eventHandler_
The event handler to use to register stop points to.
StopPointIndex stopPoints_
The stop points.
void enableOnceAndDisable(unsigned int handle)
void deleteStopPoint(unsigned int handle)
void setCondition(unsigned int handle, const ConditionScript &condition)
ClockCycleCount lastStopCycle_
The clock cycle in which simulation was stopped last.
unsigned int stopPointCount()
unsigned int stopCausingStopPoint(unsigned int index) const
StopPointManager(TTASimulationController &controller, SimulationEventHandler &eventHandler)
const StopPoint & stopPointWithHandleConst(unsigned int handle) const
void enable(unsigned int handle)
std::vector< unsigned int > HandleContainer
The handle storage.
unsigned int stopCausingStopPointCount() const
void disable(unsigned int handle)
void removeCondition(unsigned int handle)
CycleCount ClockCycleCount
Alias for ClockCycleCount.
HandleContainer handles_
The stop point handles.
unsigned int stopPointHandle(unsigned int index)
virtual ~StopPointManager()
void setIgnore(unsigned int handle, unsigned int count)
StopPoint * findStopPoint(unsigned int handle)