DynamicConsoleMethodComponent Class Reference

#include <dynamicConsoleMethodComponent.h>

Inheritance diagram for DynamicConsoleMethodComponent:

Inheritance graph
[legend]
List of all members.

Public Member Functions

const char * callMethod (S32 argc, const char *methodName,...)
 Call Method format string.
virtual const char * callMethodArgList (U32 argc, const char *argv[], bool callThis=true)
 Call Method.
virtual bool handlesConsoleMethod (const char *fname, S32 *routingId)
 DECLARE_CONOBJECT (DynamicConsoleMethodComponent)

Protected Member Functions

virtual const char * _callMethod (U32 argc, const char *argv[], bool callThis=true)
 Internal callMethod : Actually does component notification and script method execution.

Private Types

typedef SimObject Parent

Member Typedef Documentation

Reimplemented from SimObject.


Member Function Documentation

virtual const char* DynamicConsoleMethodComponent::_callMethod ( U32  argc,
const char *  argv[],
bool  callThis = true 
) [protected, virtual]

Internal callMethod : Actually does component notification and script method execution.

Attention:
This method does some magic to the argc argv to make Con::execute act properly as such it's internal and should not be exposed or used except by this class

const char* DynamicConsoleMethodComponent::callMethod ( S32  argc,
const char *  methodName,
  ... 
) [virtual]

Call Method format string.

Implements ICallMethod.

virtual const char* DynamicConsoleMethodComponent::callMethodArgList ( U32  argc,
const char *  argv[],
bool  callThis = true 
) [virtual]

Call Method.

Implements ICallMethod.

virtual bool DynamicConsoleMethodComponent::handlesConsoleMethod ( const char *  fname,
S32 routingId 
) [virtual]

Reimplemented from SimObject.

DynamicConsoleMethodComponent::DECLARE_CONOBJECT ( DynamicConsoleMethodComponent   )