|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAIAGENT::CAgentOperation Class Reference#include <operation.h>
Inheritance diagram for NLAIAGENT::CAgentOperation:
List of all members.
Public Methods |
| CAgentOperation () |
| CAgentOperation (IObjetOp *o) |
| CAgentOperation (const CAgentOperation &) |
virtual | ~CAgentOperation () |
virtual void | setValue (IObjetOp *o) |
const IObjetOp * | getsetValue () const |
void | setName (const CStringType &name) |
const CStringType * | getName () const |
virtual bool | isTrue () const |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp & | neg () |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp & | operator+= (const IObjetOp &) |
| add the operater by anather. More...
|
virtual IObjetOp & | operator-= (const IObjetOp &) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp & | operator *= (const IObjetOp &) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjetOp & | operator/= (const IObjetOp &) |
| throw (NLAIE::CExceptionNotImplemented). More...
|
virtual IObjectIA & | operator= (const IObjectIA &a) |
| Equality operator. More...
|
virtual CProcessResult | runActivity () |
| Mailer do'nt have own activity. More...
|
virtual bool | haveActivity () const |
| allow to know if the agent have an activity process to run. More...
|
virtual IMessageBase * | runTell (const IMessageBase &) |
| runTell is to processing reltative to PTell Performatif. More...
|
virtual void | onKill (IConnectIA *A) |
| Called by an agent who's destroyed te remove its references. More...
|
virtual const CProcessResult & | run () |
| The work of an agent. More...
|
virtual bool | isEqual (const IBasicObjectIA &a) const |
| Implementation of the isEqual of the IBasicObjectIA. More...
|
virtual void | load (NLMISC::IStream &is) |
| Load the class from a stream. More...
|
virtual void | save (NLMISC::IStream &os) |
| Save the class in a stream. More...
|
virtual const NLAIC::IBasicType * | clone () const |
| This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...
|
virtual const NLAIC::IBasicType * | newInstance () const |
| This function allow a new instance, that mean that the class is a class factory. More...
|
virtual void | getDebugString (std::string &t) const |
| 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. More...
|
virtual const NLAIC::CIdentType & | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
virtual void | update () |
virtual bool | changed () const |
virtual void | connectOnChange (IConnectIA *ref) |
virtual void | changeIsDone () |
virtual int | getBaseMethodCount () const |
| Return the nomber of internal C++ hard coded method that the class can process. More...
|
virtual NLAIAGENT::tQueue | isMember (const NLAIAGENT::IVarName *, const NLAIAGENT::IVarName *, const NLAIAGENT::IObjectIA &) const |
virtual sint32 | getMethodIndexSize () const |
| getMethodIndexSize define the nomber of method define in the class. More...
|
virtual CProcessResult | runMethodBase (int, int, IObjectIA *) |
virtual CProcessResult | runMethodBase (int, IObjectIA *) |
Static Public Methods |
void | initClass () |
void | releaseClass () |
Public Attributes |
enum TSetValue TGetValue TSetName
TGetName TUpdate TIsChange
TConnect | TLastM |
| The count of export method. More...
|
Static Public Attributes |
const NLAIC::CIdentType * | IdAgentOperation = NULL |
const NLAIC::CIdentType * | idMsgOnChangeMsg = NULL |
const NLAIAGENT::IMessageBase * | MsgOnChangeMsg = NULL |
CMethodCall ** | StaticMethod = NULL |
Protected Methods |
void | update (IObjectIA *obj) |
Protected Attributes |
IObjetOp * | _Op |
Private Attributes |
CStringType * | _Name |
std::list< IConnectIA * > | _Connection |
bool | _Change |
Constructor & Destructor Documentation
NLAIAGENT::CAgentOperation::CAgentOperation |
( |
|
) |
|
|
NLAIAGENT::CAgentOperation::CAgentOperation |
( |
IObjetOp * |
o |
) |
|
|
NLAIAGENT::CAgentOperation::CAgentOperation |
( |
const CAgentOperation & |
|
) |
|
|
NLAIAGENT::CAgentOperation::~CAgentOperation |
( |
|
) |
[virtual] |
|
Member Function Documentation
virtual bool NLAIAGENT::CAgentOperation::changed |
( |
|
) |
const [inline, virtual] |
|
virtual void NLAIAGENT::CAgentOperation::changeIsDone |
( |
|
) |
[inline, virtual] |
|
void NLAIAGENT::CAgentOperation::connectOnChange |
( |
IConnectIA * |
ref |
) |
[virtual] |
|
int NLAIAGENT::CAgentOperation::getBaseMethodCount |
( |
|
) |
const [virtual] |
|
void NLAIAGENT::CAgentOperation::getDebugString |
( |
std::string & |
t |
) |
const [virtual] |
|
|
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.
Reimplemented from NLAIAGENT::CAgentScript.
Definition at line 170 of file operation.cpp.
References _Op, s, and t. |
sint32 NLAIAGENT::CAgentOperation::getMethodIndexSize |
( |
|
) |
const [virtual] |
|
const CStringType* NLAIAGENT::CAgentOperation::getName |
( |
|
) |
const [inline] |
|
const IObjetOp* NLAIAGENT::CAgentOperation::getsetValue |
( |
|
) |
const [inline] |
|
virtual const NLAIC::CIdentType& NLAIAGENT::CAgentOperation::getType |
( |
|
) |
const [inline, virtual] |
|
|
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).
Reimplemented from NLAIAGENT::CAgentScript.
Definition at line 126 of file operation.h. |
virtual bool NLAIAGENT::CAgentOperation::haveActivity |
( |
|
) |
const [inline, virtual] |
|
void NLAIAGENT::CAgentOperation::initClass |
( |
|
) |
[static] |
|
bool NLAIAGENT::CAgentOperation::isEqual |
( |
const IBasicObjectIA & |
a |
) |
const [virtual] |
|
bool NLAIAGENT::CAgentOperation::isTrue |
( |
|
) |
const [virtual] |
|
IObjetOp & NLAIAGENT::CAgentOperation::neg |
( |
|
) |
[virtual] |
|
const NLAIC::IBasicType * NLAIAGENT::CAgentOperation::newInstance |
( |
|
) |
const [virtual] |
|
void NLAIAGENT::CAgentOperation::onKill |
( |
IConnectIA * |
A |
) |
[virtual] |
|
IObjetOp & NLAIAGENT::CAgentOperation::operator *= |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
IObjetOp & NLAIAGENT::CAgentOperation::operator+= |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
IObjetOp & NLAIAGENT::CAgentOperation::operator-= |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
IObjetOp & NLAIAGENT::CAgentOperation::operator/= |
( |
const IObjetOp & |
a |
) |
[virtual] |
|
virtual IObjectIA& NLAIAGENT::CAgentOperation::operator= |
( |
const IObjectIA & |
a |
) |
[inline, virtual] |
|
void NLAIAGENT::CAgentOperation::releaseClass |
( |
|
) |
[static] |
|
|
Reimplemented from NLAIAGENT::CAgentScript.
Definition at line 268 of file operation.cpp.
References _Name, _Op, changed, connectOnChange, NLAIAGENT::IBaseGroupType::get, NLAIAGENT::IConnectIA::IConnectIA, index, NLAIAGENT::IObjetOp::IObjetOp, param, r, NLAIAGENT::IObjectIA::CProcessResult::Result, s, setName, setValue, and update. |
void NLAIAGENT::CAgentOperation::setName |
( |
const CStringType & |
name |
) |
[inline] |
|
virtual void NLAIAGENT::CAgentOperation::setValue |
( |
IObjetOp * |
o |
) |
[inline, virtual] |
|
void NLAIAGENT::CAgentOperation::update |
( |
IObjectIA * |
obj |
) |
[protected] |
|
virtual void NLAIAGENT::CAgentOperation::update |
( |
|
) |
[inline, virtual] |
|
Member Data Documentation
bool NLAIAGENT::CAgentOperation::_Change [private]
|
|
CStringType* NLAIAGENT::CAgentOperation::_Name [private]
|
|
IObjetOp* NLAIAGENT::CAgentOperation::_Op [protected]
|
|
|
Definition at line 56 of file operation.h.
Referenced by CAgentOperation, connectOnChange, getDebugString, getsetValue, isEqual, isTrue, neg, runMethodBase, runTell, setValue, update, and ~CAgentOperation. |
const NLAIC::CIdentType * NLAIAGENT::CAgentOperation::IdAgentOperation = NULL [static]
|
|
const NLAIC::CIdentType * NLAIAGENT::CAgentOperation::idMsgOnChangeMsg = NULL [static]
|
|
enum TSetValue TGetValue TSetName TGetName TUpdate TIsChange TConnect NLAIAGENT::CAgentOperation::TLastM
|
|
The documentation for this class was generated from the following files:
|
|