From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/interpret__actor_8cpp-source.html | 145 +++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 docs/doxygen/nel/interpret__actor_8cpp-source.html (limited to 'docs/doxygen/nel/interpret__actor_8cpp-source.html') diff --git a/docs/doxygen/nel/interpret__actor_8cpp-source.html b/docs/doxygen/nel/interpret__actor_8cpp-source.html new file mode 100644 index 00000000..a2d4ca90 --- /dev/null +++ b/docs/doxygen/nel/interpret__actor_8cpp-source.html @@ -0,0 +1,145 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

interpret_actor.cpp

Go to the documentation of this file.
00001 #include "nel/ai/c/registry_class.h"
+00002 #include "nel/ai/agent/actor_script.h"
+00003 #include "nel/ai/script/lexsupport.h"
+00004 
+00005 #include "nel/ai/script/interpret_actor.h"
+00006 #include "nel/ai/agent/actor_script.h"
+00007 
+00008 namespace NLAISCRIPT
+00009 {
+00010         CActorClass::CActorClass(const NLAIAGENT::IVarName &n) : CAgentClass(n)
+00011         {
+00012                 setBaseMethodCount(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass()))->getBaseMethodCount());               
+00013                 setBaseObjectInstance(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass())));          
+00014         }
+00015         
+00016         CActorClass::CActorClass(const NLAIC::CIdentType &id): CAgentClass(id)
+00017         {
+00018                 setBaseMethodCount(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass()))->getBaseMethodCount());
+00019                 setBaseObjectInstance(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass())));          
+00020         }
+00021 
+00022         CActorClass::CActorClass(const NLAIAGENT::IVarName &n, const NLAIAGENT::IVarName &inheritance) : CAgentClass( inheritance )
+00023         {
+00024                 setBaseMethodCount(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass()))->getBaseMethodCount());
+00025                 setBaseObjectInstance(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass())));          
+00026         }
+00027 
+00028         CActorClass::CActorClass(const CActorClass &c) : CAgentClass( c )
+00029         {
+00030                 setBaseMethodCount(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass()))->getBaseMethodCount());
+00031                 setBaseObjectInstance(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass())));          
+00032         }       
+00033 
+00034         CActorClass::CActorClass()
+00035         {
+00036                 setBaseMethodCount(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass()))->getBaseMethodCount());
+00037                 setBaseObjectInstance(((NLAIAGENT::CActorScript *)(NLAIAGENT::CActorScript::IdActorScript.getFactory()->getClass())));
+00038         }
+00039 
+00040 
+00041         const NLAIC::IBasicType *CActorClass::clone() const
+00042         {
+00043                 NLAIC::IBasicType *clone = new CActorClass(*this);
+00044                 return clone;
+00045         }
+00046 
+00047         const NLAIC::IBasicType *CActorClass::newInstance() const
+00048         {
+00049                 NLAIC::IBasicType *instance = new CActorClass();
+00050                 return instance;
+00051         }
+00052 
+00053         void CActorClass::getDebugString(std::string &t) const
+00054         {
+00055         }
+00056 
+00057         NLAIAGENT::IObjectIA *CActorClass::buildNewInstance() const
+00058         {
+00059                 // Création des composants statiques
+00060                 std::list<NLAIAGENT::IObjectIA *> components;
+00061                 createBaseClassComponents( components );
+00062 
+00063                 // Création du message
+00064                 NLAIAGENT::CActorScript *instance = new NLAIAGENT::CActorScript( NULL, NULL ,components,  (CActorClass *) this );
+00065                 return instance;
+00066         }
+00067 
+00068         CActorClass::~CActorClass()
+00069         {
+00070         }
+00071 }
+
+ + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1