>xabsl   The Extensible Agent Behavior Specification Language

XabslEngine Class Library Reference

 

xabsl::TeamMessage Class Reference

#include <XabslTeamMessage.h>

Collaboration diagram for xabsl::TeamMessage:

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents an incoming or outgoing message transmitted from/to other cooperating agents.

Author:
Max Risler

Definition at line 24 of file XabslTeamMessage.h.


Public Member Functions

 TeamMessage ()
 Constructor.

void reset ()
 Reset the content of the message.


Public Attributes

Array< int > coopStatesExecuted
 An array containing indexes of currently executed cooperative states.

Array< int > coopStatesEntering
 An array containing indexes of cooperative states, currently trying to be executed but blocked due to cooperating agents.

Array< int > coopStatesOptionExecuted
 An array containing indexes of cooperative states, whose corresponding option is being executed.

int agentPriority
 Priority value of the agent, used for solving conflicts in cooperative state assignment.


Constructor & Destructor Documentation

xabsl::TeamMessage::TeamMessage  )  [inline]
 

Constructor.

Definition at line 30 of file XabslTeamMessage.h.


Member Function Documentation

void xabsl::TeamMessage::reset  )  [inline]
 

Reset the content of the message.

Definition at line 46 of file XabslTeamMessage.h.

References xabsl::Array< int >::clear(), coopStatesEntering, coopStatesExecuted, and coopStatesOptionExecuted.

Referenced by xabsl::Engine::generateOutgoingMessage().

Here is the call graph for this function:


Member Data Documentation

Array<int> xabsl::TeamMessage::coopStatesExecuted
 

An array containing indexes of currently executed cooperative states.

Definition at line 34 of file XabslTeamMessage.h.

Referenced by xabsl::Engine::generateOutgoingMessage(), xabsl::Engine::processIncomingMessage(), and reset().

Array<int> xabsl::TeamMessage::coopStatesEntering
 

An array containing indexes of cooperative states, currently trying to be executed but blocked due to cooperating agents.

Definition at line 37 of file XabslTeamMessage.h.

Referenced by xabsl::Engine::generateOutgoingMessage(), xabsl::Engine::processIncomingMessage(), and reset().

Array<int> xabsl::TeamMessage::coopStatesOptionExecuted
 

An array containing indexes of cooperative states, whose corresponding option is being executed.

Definition at line 40 of file XabslTeamMessage.h.

Referenced by xabsl::Engine::generateOutgoingMessage(), xabsl::Engine::processIncomingMessage(), and reset().

int xabsl::TeamMessage::agentPriority
 

Priority value of the agent, used for solving conflicts in cooperative state assignment.

Definition at line 43 of file XabslTeamMessage.h.

Referenced by xabsl::Engine::generateOutgoingMessage(), and xabsl::Engine::processIncomingMessage().


The documentation for this class was generated from the following file:

Up | Main Page | Generated at Wed Aug 19 17:32:31 2009.