Public Member Functions | Public Attributes | List of all members
SPQEvent Struct Reference

#include <SPQEvent.h>

Public Member Functions

 SPQEvent (Particle *pPa, PortHole *pPh, const double &pL, const double &pFL, long pEventNum, EventTypeT t=PortHoleEntry)
 
 SPQEvent (Particle *pPa, PortHole *pPh, const double &pL, long pEventNum, EventTypeT t=PortHoleEntry)
 
 SPQEvent (Pointer pP, const double &pL, long pEventNum, EventTypeT t=PortHoleEntry)
 
 SPQEvent (Pointer pP, const double &pL, const double &pFL, long pEventNum, EventTypeT t=PortHoleEntry)
 

Public Attributes

long mAbsEventNum
 
EventTypeT mEventType
 
double mFineLevel
 
double mLevel
 
Particle * mParticle
 
PortHole * mPort
 
Pointer mProcessEvent
 

Detailed Description

Event Link containing a discrete event. This is either a message event with destination port mPort and Particle mParticle or a process event with a destination primitive.

Member Data Documentation

long SPQEvent::mAbsEventNum

Total number of the event. To achieve stability in the heap, every events gets a stamp denoting its absolute number in the simulation. This is similiar to CalendarQueue, therefore does not add additional overhead compared to that implmenentation.