![]() TGE Version 1.5.2 | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
SimEvent Class Reference#include <simBase.h>
Inheritance diagram for SimEvent: ![]() Detailed DescriptionRepresents a queued event in the sim.Sim provides an event queue for your convenience, which can be used to schedule events. A few things which use this event queue:
Constructor & Destructor Documentation
Destructor. A dummy virtual destructor is required so that subclasses can be deleted properly
Member Function DocumentationFunction called when event occurs. This is where the meat of your event's implementation goes. See any of the subclasses for ideas of what goes in here. The event is deleted immediately after processing. If the object referenced in destObject is deleted, then the event is not called. The even will be executed unconditionally if the object referenced is NULL.
Implemented in SimConsoleEvent, SimConsoleThreadExecEvent, QuitEvent, and sgSceneLightingProcessEvent.
Field DocumentationLinked list details - pointer to next item in the list.
When the event was posted.
When the event is scheduled to occur.
Unique ID. These are assigned sequentially based on order of addition to the list. Object on which this event will be applied.
|