Inherits SimComponent.
Inherited by BehaviorComponent.
|
| virtual string | callOnBehaviors (methodName, argi) |
| |
| virtual bool | addComponents (%compObjName,%compObjName2,...) |
| |
| virtual int | getComponent (idx) |
| |
| virtual int | getComponentCount () |
| |
| virtual bool | isEnabled () |
| |
| virtual bool | removeComponents (%compObjName,%compObjName2,...) |
| |
| virtual void | setEnabled (enabled) |
| |
| virtual void | addFieldFilter (fieldName) |
| |
| virtual string | call (%args) |
| |
| virtual int | clone ([bool copyDynamicFields?=false]) |
| |
| virtual void | delete () |
| |
| virtual void | dump () |
| |
| virtual void | dumpClassHierarchy () |
| |
| virtual string | getClassName () |
| |
| virtual string | getClassNamespace () |
| |
| virtual string | getDynamicField (index) |
| |
| virtual int | getDynamicFieldCount () |
| |
| virtual string | getField (int index) |
| |
| virtual int | getFieldCount () |
| |
| virtual string | getFieldType (fieldName) |
| |
| virtual string | getFieldValue (fieldName) |
| |
| virtual int | getGroup () |
| |
| virtual int | getId () |
| |
| virtual string | getInternalName () |
| |
| virtual string | getName () |
| |
| virtual string | getProgenitorFile () |
| |
| virtual string | getSuperClassNamespace () |
| |
| virtual int | getType () |
| |
| virtual bool | isChildOfGroup () |
| |
| virtual bool | isMemberOfClass (string classname) |
| |
| virtual bool | isMethod (string method name) |
| |
| virtual bool | isTimerActive () |
| |
| virtual void | removeFieldFilter (fieldName) |
| |
| virtual bool | save (fileName,[selectedOnly]) |
| |
| virtual int | schedule (time, command,< arg1...argN >) |
| |
| virtual void | setClassNamespace () |
| |
| virtual bool | setFieldValue (fieldName, value) |
| |
| virtual void | setInternalName () |
| |
| virtual void | setName (newName) |
| |
| virtual void | setProgenitorFile (file) |
| |
| virtual void | setSuperClassNamespace () |
| |
| virtual bool | startTimer (callbackFunction, float timePeriod,[repeat]) |
| |
| virtual void | stopTimer () |
| |
| virtual string DynamicConsoleMethodComponent::callOnBehaviors |
( |
methodName |
, |
|
|
argi |
|
|
) |
| |
|
virtual |
Calls script defined method on first behavior that defines it. Example: obj.callOnBehaviors( methodName, arg1, arg2, ... );
- Parameters
-
| methodName | The method's name as a string |
| argi | Any arguments to pass to the method |
- Returns
- Any returned value from the behavior that handles the method, or the string 'ERR_CALL_NOT_HANDLED' if no behavior can handle the method.
| bool DynamicConsoleMethodComponent::canSaveDynamicFields |
| string DynamicConsoleMethodComponent::class |
Script SuperClass of object.
| bool DynamicConsoleMethodComponent::Enabled |
| string DynamicConsoleMethodComponent::internalName |
| SimObjectPtr DynamicConsoleMethodComponent::parentGroup |
Group hierarchy parent of the object.
| string DynamicConsoleMethodComponent::superclass |