Inheritance diagram for Classes.CSoldier:
Protected Member Functions | |
void | setup () |
'setup' method of jade agents. | |
void | SetUpPriorities () |
Definition of priorities for each kind of task. | |
boolean | checkBackupAction (String _sContent) |
Decides if agent accepts the CFB request. |
|
'setup' method of jade agents. This method perform actions in common to CSoldier agents (and derived classes) and calls parent's setup.
Reimplemented from Classes.CTroop. |
|
Definition of priorities for each kind of task.
This method can be implemented in CTroop's derived classes to define the task's priorities in agreement to the role of the new class. Priorities must be defined in the array It's very useful to overload this method.
Reimplemented from Classes.CTroop. |
|
Decides if agent accepts the CFB request.
This method is a decision function invoked when a CALL FOR BACKUP request has arrived. Parameter It's very useful to overload this method.
|