![]() TGE Version 1.5.2 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||
SimConsoleEvent Class Reference#include <simBase.h>
Inheritance diagram for SimConsoleEvent: ![]() Detailed DescriptionImplementation of schedule() function.This allows you to set a console function to be called at some point in the future.
Constructor & Destructor Documentation
Constructor. Pass the arguments of a function call, optionally on an object. The object for the call to be executed on is specified by setting onObject and storing a reference to the object in destObject. If onObject is false, you don't need to store anything into destObject. The parameters here are passed unmodified to Con::execute() at the time of the event.
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.
Implements SimEvent. Reimplemented in SimConsoleThreadExecEvent.
Field Documentation
|