torque Torque Game Engine Documentation
TGE Version 1.5.2

SimConsoleThreadExecEvent Class Reference

#include <simBase.h>

Inheritance diagram for SimConsoleThreadExecEvent:

Inheritance graph
[legend]

Public Member Functions

 SimConsoleThreadExecEvent (S32 argc, const char **argv, bool onObject, SimConsoleThreadExecCallback *callback)
virtual void process (SimObject *object)
 Function called when event occurs.

Private Attributes

SimConsoleThreadExecCallbackcb

Constructor & Destructor Documentation

SimConsoleThreadExecEvent::SimConsoleThreadExecEvent ( S32  argc,
const char **  argv,
bool  onObject,
SimConsoleThreadExecCallback callback 
)


Member Function Documentation

virtual void SimConsoleThreadExecEvent::process ( SimObject object  )  [virtual]

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

Parameters:
object Object stored in destObject.

Reimplemented from SimConsoleEvent.


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen