Home | nevrax.com |
|
fuzzy_script.hGo to the documentation of this file.00001 00007 /* Copyright, 2000 Nevrax Ltd. 00008 * 00009 * This file is part of NEVRAX NEL. 00010 * NEVRAX NEL is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2, or (at your option) 00013 * any later version. 00014 00015 * NEVRAX NEL is distributed in the hope that it will be useful, but 00016 * WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * General Public License for more details. 00019 00020 * You should have received a copy of the GNU General Public License 00021 * along with NEVRAX NEL; see the file COPYING. If not, write to the 00022 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, 00023 * MA 02111-1307, USA. 00024 */ 00025 00026 00027 #ifndef NL_FUZZY_SCRIPT_H 00028 #define NL_FUZZY_SCRIPT_H 00029 00030 #include "nel/ai/agent/agent.h" 00031 00032 namespace NLAISCRIPT 00033 { 00034 class CMessageClass; 00035 class CFuzzyControlerClass; 00036 class IOpCode; 00037 } 00038 /* 00039 namespace NLAIFUZZY 00040 { 00041 class CFuzzyControlerScript : public NLAIAGENT::IMessageBase { 00042 private: 00043 NLAISCRIPT::CMessageClass *_MessageClass; 00044 00045 public: 00046 00047 virtual sint32 getMethodIndexSize() const; 00048 virtual NLAIAGENT::tQueue isMember(const NLAIAGENT::IVarName *,const NLAIAGENT::IVarName *,const NLAIAGENT::IObjectIA &) const; 00049 virtual sint32 isClassInheritedFrom(const NLAIAGENT::IVarName &) const; 00050 virtual IObjectIA::CProcessResult runMethodeMember(sint32, sint32, NLAIAGENT::IObjectIA *); 00051 virtual IObjectIA::CProcessResult runMethodeMember(sint32 index, NLAIAGENT::IObjectIA *); 00052 00053 virtual void setStaticMember(sint32,NLAIAGENT::IObjectIA *); 00054 virtual const NLAIAGENT::IObjectIA *getStaticMember(sint32) const; 00055 virtual sint32 getStaticMemberSize() const; 00056 virtual sint32 getStaticMemberIndex(const NLAIAGENT::IVarName &) const; 00057 00058 sint32 getBaseMethodCount() const; 00059 00060 public: 00061 static const NLAIC::CIdentType IdFuzzyControlerScript; 00062 00063 CFuzzyControlerScript(const CFuzzyControlerScript &); 00064 CFuzzyControlerScript(); 00065 CFuzzyControlerScript( std::list<NLAIAGENT::IObjectIA *> &, NLAISCRIPT::CFuzzyControlerClass *); 00066 00067 virtual ~CFuzzyControlerScript(); 00068 virtual void load(NLMISC::IStream &is); 00069 virtual void save(NLMISC::IStream &os); 00070 00071 const CProcessResult &run(); 00072 00073 NLAISCRIPT::IOpCode &getMethode(sint32 inheritance,sint32 index); 00074 NLAISCRIPT::IOpCode &getMethode(sint32 index); 00075 00076 virtual const NLAIC::IBasicType *clone() const; 00077 virtual const NLAIC::IBasicType *newInstance() const; 00078 virtual void getDebugString(char *t) const; 00079 virtual bool isEqual(const NLAIAGENT::IBasicObjectIA &a) const; 00080 static const NLAIC::CIdentType IdMessageScript; 00081 const NLAIC::CIdentType &getType() const; 00082 }; 00083 } 00084 */ 00085 #endif |