Data Structures | |
| class | IOTrace |
Functions | |
| void | buildScript (const std::string &scriptSrc, const std::string &name) |
| uint8 | getLocalServerID () |
| void | initIALib () |
| void | releaseIALib () |
| void | releaseMainManager () |
| void | setLocalServerID (uint8 u) |
| void | setMainManager (NLAIAGENT::IMainAgent *manager) |
Variables | |
| char | LaseErrorCodeOrdreInterprete [32 *1024] |
|
||||||||||||
|
Definition at line 161 of file ai.cpp. References NLAISCRIPT::CCompilateur::Compile(), r, and NLAIC::IPointerGestion::release(). Referenced by NLAIAGENT::CAgentScript::initAgentScript(), NLAIAGENT::CVolatilMemmory::initClass(), and NLAIAGENT::CAgentWatchTimer::initMsgClass().
00162 {
00163 NLAISCRIPT::IScriptDebugSource *sourceCode = new NLAISCRIPT::CScriptDebugSourceFile(name.c_str());
00164 IOTrace Interface;
00165 NLAISCRIPT::CCompilateur *comp = new NLAISCRIPT::CCompilateur(Interface, scriptSrc.c_str(), scriptSrc.size(), sourceCode);
00166 NLAIAGENT::IObjectIA::CProcessResult r = comp->Compile();
00167 #ifdef NL_DEBUG
00168 if ( r.ResultState == NLAIAGENT::processError )
00169 throw;
00170 #endif
00171 sourceCode->release();
00172 delete comp;
00173 }
|
|
|
Definition at line 79 of file ai.cpp. References NLNET::IService::getInstance(), and uint8.
00080 {
00081 return NLNET::IService::getInstance()->getServiceId ();
00082 }
|
|
|
|
|
Definition at line 90 of file ai.cpp.
00091 {
00092 if(NLAIAGENT::CProxyAgentMail::MainAgent != NULL)
00093 {
00094 NLAIAGENT::CProxyAgentMail::MainAgent->release();
00095 }
00096 }
|
|
|
Definition at line 72 of file ai.cpp. References NLMISC::CEntityId::setCreatorId(), NLMISC::CEntityId::setDynamicId(), NLMISC::CEntityId::setServiceId(), and uint8.
00073 {
00074 NLAIAGENT::CAgentNumber::setServiceId(u);
00075 NLAIAGENT::CNumericIndex::_I.setCreatorId( u );
00076 NLAIAGENT::CNumericIndex::_I.setDynamicId( u );
00077 }
|
|
|
Definition at line 84 of file ai.cpp.
00085 {
00086 NLAIAGENT::CProxyAgentMail::MainAgent = manager;
00087 //NLAIAGENT::CProxyAgentMail::MainAgent->incRef();
00088 }
|
|
|
Definition at line 98 of file ai.cpp. Referenced by NLAILINK::IOTrace::Echo(). |
1.3.6