52simtime_t arrivalTime; // time of delivery -- set internally
53short priority = 0; // priority -- used for scheduling events with equal arrival times
54int heapIndex = -1; // used by cEventHeap (-1 if not on heap; all other values, including negative ones, means "on the heap")
55eventnumber_t insertOrder = -1; // used by the FES to keep order of events with equal time and priority
56eventnumber_t previousEventNumber = -1; // most recent event number when envir was notified about this event object (e.g. creating/cloning/sending/scheduling/deleting of this event object)
57
58public:
59// internal: returns the event number which scheduled this event object, or the event
60// number in which this event object was last executed (e.g. delivered to a module);
61// stored for recording into the event log file.