This is the list-object of the linked list used in the TimingSimulationEventSource. The linked list stores the complete sequence of events on which the TimingSimulationEventSource is iterating. More...
Public Member Functions | |
SimulationEvent (std::string &className, CycleConfig &cycle, DomainConfig *domain, long absOff, long relativEventTimeInCycle, EventConfig *eventConfig) | |
constructor | |
Public Attributes | |
long | delay_ |
delay in ms which have to be waited before returning the event | |
long | absOffset_ |
the offset from the beginning of the super-cycle with shift-delay 0. Used for sorting | |
SimulationEvent * | nextEvent_ |
the next pointer of the linked list | |
EventConfig * | eventConfig_ |
pointer to the config-object for this event | |
long | cycleID_ |
CycleID (used by the TimingSimulationContext). | |
std::string | className_ |
the class which will use the event | |
std::string | cycleName_ |
Name of the Cycle (used by the TimingSimulationContext). | |
std::string | domainName_ |
Name of the Domain (used by the TimingSimulationContext). | |
long | relativEventTimeInCycle_ |
relative time between cycle-start and event (used by the TimingSimulationContext) |
This is the list-object of the linked list used in the TimingSimulationEventSource. The linked list stores the complete sequence of events on which the TimingSimulationEventSource is iterating.
Definition at line 61 of file TimingSimulationEventSource.h.
fesaGSI::TimingSimulationEventSource::SimulationEvent::SimulationEvent | ( | std::string & | className, | |
CycleConfig & | cycle, | |||
DomainConfig * | domain, | |||
long | absOff, | |||
long | relativEventTimeInCycle, | |||
EventConfig * | eventConfig | |||
) |
constructor
cycle | Link to the cycle configuration of this event | |
domain | Link to the domain configuration of this event | |
absOff | the offset from the beginning of the super-cycle with shift-delay 0. Used for sorting | |
relativEventTimeInCycle | The offset from the beginning of the associated cycle | |
eventConfig | Link to the event configuration of this event |
Definition at line 25 of file TimingSimulationEventSource.cpp.
References className_, fesaGSI::CycleConfig::cycleID_, cycleID_, fesaGSI::CycleConfig::cycleName_, cycleName_, domainName_, fesaGSI::DomainConfig::name_, and relativEventTimeInCycle_.
the offset from the beginning of the super-cycle with shift-delay 0. Used for sorting
Definition at line 73 of file TimingSimulationEventSource.h.
Referenced by fesaGSI::TimingSimulationEventSource::computeDelays(), and fesaGSI::TimingSimulationEventSource::insertSorted().
the class which will use the event
Definition at line 93 of file TimingSimulationEventSource.h.
Referenced by SimulationEvent(), and fesaGSI::TimingSimulationEventSource::wait().
CycleID (used by the TimingSimulationContext).
Definition at line 88 of file TimingSimulationEventSource.h.
Referenced by SimulationEvent(), and fesaGSI::TimingSimulationEventSource::wait().
Name of the Cycle (used by the TimingSimulationContext).
Definition at line 98 of file TimingSimulationEventSource.h.
Referenced by SimulationEvent(), and fesaGSI::TimingSimulationEventSource::wait().
delay in ms which have to be waited before returning the event
Definition at line 68 of file TimingSimulationEventSource.h.
Referenced by fesaGSI::TimingSimulationEventSource::computeDelays(), and fesaGSI::TimingSimulationEventSource::wait().
Name of the Domain (used by the TimingSimulationContext).
Definition at line 103 of file TimingSimulationEventSource.h.
Referenced by SimulationEvent(), and fesaGSI::TimingSimulationEventSource::wait().
pointer to the config-object for this event
Definition at line 83 of file TimingSimulationEventSource.h.
Referenced by fesaGSI::TimingSimulationEventSource::wait().
the next pointer of the linked list
Definition at line 78 of file TimingSimulationEventSource.h.
Referenced by fesaGSI::TimingSimulationEventSource::computeDelays(), fesaGSI::TimingSimulationEventSource::insertSorted(), fesaGSI::TimingSimulationEventSource::wait(), and fesaGSI::TimingSimulationEventSource::~TimingSimulationEventSource().
relative time between cycle-start and event (used by the TimingSimulationContext)
Definition at line 108 of file TimingSimulationEventSource.h.
Referenced by SimulationEvent(), and fesaGSI::TimingSimulationEventSource::wait().