RuntimeClassRep< T > Class Template Reference#include <runtimeClassRep.h>
Inheritance diagram for RuntimeClassRep< T >: ![]() Detailed Description
This class is to allow new types to be added, at run-time, to Torque.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| RuntimeClassRep (const char *name, S32 netClassGroupMask, S32 netClassType, S32 netEventDir, AbstractClassRep *parent) | |
| void | init () const |
| Perform class specific initialization tasks. | |
| ConsoleObject * | create () const |
| Wrap constructor. | |
| void | consoleRegister () |
| Register this class with the Torque console. | |
| void | consoleUnRegister () |
| Unregister this class with the Torque console. | |
Static Public Member Functions | |
| static const bool | isRegistered () |
| Returns true if this class type is registered with the console system. | |
Static Protected Attributes | |
| static bool | smConRegistered = false |
| This variable will be set to true if this class-rep is currently registered. | |
| RuntimeClassRep< T >::RuntimeClassRep | ( | const char * | name, | |
| S32 | netClassGroupMask, | |||
| S32 | netClassType, | |||
| S32 | netEventDir, | |||
| AbstractClassRep * | parent | |||
| ) | [inline] |
| void RuntimeClassRep< T >::init | ( | ) | const [inline, virtual] |
Perform class specific initialization tasks.
Link namespaces, call initPersistFields() and consoleInit().
Implements AbstractClassRep.
| ConsoleObject* RuntimeClassRep< T >::create | ( | ) | const [inline, virtual] |
| void RuntimeClassRep< T >::consoleRegister | ( | ) | [inline] |
Register this class with the Torque console.
| void RuntimeClassRep< T >::consoleUnRegister | ( | ) | [inline] |
Unregister this class with the Torque console.
| static const bool RuntimeClassRep< T >::isRegistered | ( | ) | [inline, static] |
Returns true if this class type is registered with the console system.
bool RuntimeClassRep< T >::smConRegistered = false [static, protected] |
This variable will be set to true if this class-rep is currently registered.