Inheritance diagram for NLAILINK::IOTrace:
Public Member Functions | |
virtual const NLAIC::IBasicType * | clone () const |
sint32 | decRef () |
Decrement the reference of an object. | |
virtual void | Echo (char *str,...) const |
void | getDebugString (std::string &t) const |
virtual const std::string | getInfo () |
const sint32 & | getRef () const |
get the refence count. | |
virtual const NLAIC::CIdentType & | getType () const |
void | incRef () |
Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list. | |
virtual const std::string | InPut () const |
IOTrace () | |
virtual void | load (NLMISC::IStream &is) |
virtual const NLAIC::IBasicType * | newInstance () const |
virtual void | release () |
Release allow to release the pointer. The last release when the _Ref is nul delete the object. | |
virtual void | save (NLMISC::IStream &os) |
virtual void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
virtual | ~IOTrace () |
|
Definition at line 104 of file ai.cpp. Referenced by clone().
00105 { 00106 00107 } |
|
Definition at line 156 of file ai.cpp.
00157 { 00158 } |
|
This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. Implements NLAIC::IBasicType. Definition at line 132 of file ai.cpp. References NLAIC::IPointerGestion::incRef(), and IOTrace(). Referenced by newInstance().
00133 { 00134 NLAIC::IBasicInterface *m = new IOTrace(); 00135 m->incRef(); 00136 return m; 00137 } |
|
Decrement the reference of an object.
Definition at line 93 of file abstract_interface.h. References NLAIC::IPointerGestion::_Ref, and sint32. Referenced by NLAIC::IPointerGestion::release(), and NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle().
00094 {
00095 return --_Ref;
00096 }
|
|
Implements NLAIC::IIO. Definition at line 109 of file ai.cpp. References NLAILINK::LaseErrorCodeOrdreInterprete, and NLAIC::Out().
00110 { 00111 char temp[32*1024]; 00112 va_list argument; 00113 va_start (argument, str); 00114 00115 vsprintf(temp, str, argument); 00116 strcpy(LaseErrorCodeOrdreInterprete,temp); 00117 NLAIC::Out("%s",LaseErrorCodeOrdreInterprete); 00118 00119 } |
|
Implements NLMISC::IClassable. Reimplemented in NLAIC::CIdentType. Definition at line 116 of file abstract_interface.h. Referenced by NLAISCRIPT::CAgentClass::isClassInheritedFrom().
00117 { 00118 return std::string("<unnamed>"); 00119 } |
|
This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. Implements NLAIC::IBasicType. Definition at line 127 of file ai.cpp. References t.
00128 { 00129 t += "this is a IOConsolInterface"; 00130 } |
|
Definition at line 292 of file abstract_interface.h. References NLAIC::IBasicType::getDebugString(), and s.
00293 { 00294 std::string s; 00295 getDebugString(s); 00296 return s; 00297 } |
|
get the refence count.
Definition at line 99 of file abstract_interface.h. References NLAIC::IPointerGestion::_Ref, and sint32. Referenced by NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle().
00100 {
00101 return _Ref;
00102 }
|
|
getType return a unique string how represente the class, it can be the name of the class. This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry). Implements NLAIC::IBasicType. Definition at line 148 of file ai.cpp. References id.
00149 { 00150 static const NLAIC::CIdentType id("IDIOTEMP", NLAIC::CSelfClassFactory(*this), 00151 NLAIC::CTypeOfObject(NLAIC::CTypeOfObject::tObject),NLAIC::CTypeOfOperator(0)); 00152 return id; 00153 } |
|
|
Implements NLAIC::IIO. Definition at line 120 of file ai.cpp.
00121 {
00122 return std::string();
00123 }
|
|
Load the class from a stream. Implements NLAIC::IBasicInterface. Definition at line 144 of file ai.cpp.
00145 { 00146 } |
|
This function allow a new instance, that mean that the class is a class factory. Implements NLAIC::IBasicType. Definition at line 139 of file ai.cpp. References clone().
00140 { 00141 return clone(); 00142 } |
|
|
Save the class in a stream. Implements NLAIC::IBasicInterface. Definition at line 124 of file ai.cpp.
00125 { 00126 } |
|
Reimplemented from NLAIC::IPointerGestion. Definition at line 328 of file abstract_interface.h. References NLAIC::IBasicInterface::load(), and NLAIC::IBasicInterface::save().
|