fesaGSI::TimingSimulationEventSource::SimulationEvent Class Reference

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...

List of all members.

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
SimulationEventnextEvent_
 the next pointer of the linked list
EventConfigeventConfig_
 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)

Detailed Description

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.


Constructor & Destructor Documentation

fesaGSI::TimingSimulationEventSource::SimulationEvent::SimulationEvent ( std::string &  className,
CycleConfig cycle,
DomainConfig domain,
long  absOff,
long  relativEventTimeInCycle,
EventConfig eventConfig 
)

constructor

Parameters:
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_.


Member Data Documentation

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().

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().


The documentation for this class was generated from the following files:

Generated on 25 Jan 2013 for fesa-core-gsi by  doxygen 1.6.1