|
Pol
Rev 533
|
#include <exscrobj.h>
Inheritance diagram for ScriptExObjImp:
Collaboration diagram for ScriptExObjImp:Public Member Functions | |
| ScriptExObjImp (UOExecutor *uoexec) | |
| virtual BObjectImp * | call_method (const char *methodname, Executor &ex) |
| virtual BObjectImp * | call_method_id (const int id, Executor &ex, bool forcebuiltin=false) |
| virtual BObjectImp * | copy () const |
| virtual BObjectRef | get_member (const char *membername) |
| virtual BObjectRef | get_member_id (const int id) |
| virtual const char * | typeOf () const |
| virtual int | typeOfInt () const |
Private Types | |
| typedef BApplicObj< ScriptExPtr > | base |
Definition at line 22 of file exscrobj.h.
typedef BApplicObj< ScriptExPtr > ScriptExObjImp::base [private] |
Definition at line 24 of file exscrobj.h.
| ScriptExObjImp::ScriptExObjImp | ( | UOExecutor * | uoexec | ) | [explicit] |
Definition at line 38 of file exscrobj.cpp.
Referenced by copy().
Here is the caller graph for this function:| BObjectImp * ScriptExObjImp::call_method | ( | const char * | methodname, |
| Executor & | ex | ||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 133 of file exscrobj.cpp.
References call_method_id(), getKnownObjMethod(), and ObjMethod::id.
Here is the call graph for this function:| BObjectImp * ScriptExObjImp::call_method_id | ( | const int | id, |
| Executor & | ex, | ||
| bool | forcebuiltin = false |
||
| ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 61 of file exscrobj.cpp.
References OSExecutorModule::clear_event_queue(), BObjectImp::copy(), get_member(), weak_ptr< T >::get_weakptr(), Executor::getParamImp(), Executor::getStringParam(), Executor::hasParams(), OSExecutorModule::in_debugger_holdlist(), BObjectImp::isa(), MTH_CLEAR_EVENT_QUEUE, MTH_GET_MEMBER, MTH_KILL, MTH_LOADSYMBOLS, MTH_SENDEVENT, UOExecutor::os_module, BObjectImp::OTUninit, Executor::prog(), OSExecutorModule::revive(), OSExecutorModule::revive_debugged(), Executor::seterror(), OSExecutorModule::signal_event(), String::value(), and BApplicObj< ScriptExPtr >::value().
Referenced by call_method().
Here is the call graph for this function:
Here is the caller graph for this function:| BObjectImp * ScriptExObjImp::copy | ( | void | ) | const [virtual] |
Implements BApplicObj< ScriptExPtr >.
Definition at line 52 of file exscrobj.cpp.
References ScriptExObjImp(), and BApplicObj< ScriptExPtr >::value().
Here is the call graph for this function:| BObjectRef ScriptExObjImp::get_member | ( | const char * | membername | ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 217 of file exscrobj.cpp.
References UninitObject::create(), get_member_id(), getKnownObjMember(), and ObjMember::id.
Referenced by call_method_id().
Here is the call graph for this function:
Here is the caller graph for this function:| BObjectRef ScriptExObjImp::get_member_id | ( | const int | id | ) | [virtual] |
Reimplemented from BObjectImp.
Definition at line 160 of file exscrobj.cpp.
References UOExecutorModule::attached_chr_, UOExecutorModule::attached_npc_, config, UOExecutorModule::controller_, Executor::ControlStack, UninitObject::create(), Executor::findModule(), ref_ptr< T >::get(), weak_ptr< T >::get_weakptr(), GetGlobals(), Executor::Globals2, UOExecutor::instr_cycles, MBR_ATTACHED_TO, MBR_CALL_DEPTH, MBR_CONSEC_CYCLES, MBR_CONTROLLER, MBR_GLOBALS, MBR_INSTR_CYCLES, MBR_NAME, MBR_NUM_GLOBALS, MBR_PC, MBR_PID, MBR_SLEEP_CYCLES, MBR_STATE, MBR_VAR_SIZE, UOExecutor::os_module, Executor::PC, OSExecutorModule::pid(), UOExecutor::runaway_cycles, PolConfig::runaway_script_threshold, Executor::scriptname(), Executor::sizeEstimate(), UOExecutor::sleep_cycles, UOExecutor::state(), BApplicObj< ScriptExPtr >::value(), and UOExecutor::warn_runaway_on_cycle.
Referenced by get_member().
Here is the call graph for this function:
Here is the caller graph for this function:| const char * ScriptExObjImp::typeOf | ( | ) | const [virtual] |
Implements BApplicObj< ScriptExPtr >.
Definition at line 43 of file exscrobj.cpp.
| int ScriptExObjImp::typeOfInt | ( | ) | const [virtual] |
Implements BApplicObj< ScriptExPtr >.
Definition at line 47 of file exscrobj.cpp.
References BObjectImp::OTScriptExRef.