9 #ifndef _FIPAACL_CONVMONITOR_STATEMACHINE_H_ 10 #define _FIPAACL_CONVMONITOR_STATEMACHINE_H_ 12 #include <fipa_acl/bitefficient_message.h> 13 #include <fipa_acl/conversation_monitor/state.h> 14 #include <fipa_acl/conversation_monitor/message_archive.h> 36 std::map<StateId, State> mStates;
56 void generateDefaultStates();
61 void generateDefaultTransitions();
104 std::map<StateId, State>
getStates()
const {
return mStates; }
193 std::string
toXML()
const;
234 : numberOfSubConversations(-1)
245 std::string
toXML()
const;
fipa::acl::Protocol getProtocol() const
void consumeMessage(const ACLMessage &msg)
StateId getCurrentStateId() const
void setProtocol(const fipa::acl::Protocol &protocol)
std::string actualProtocol
implements a state of the StateMachine class
const State & getCurrentState() const
StateMachine stateMachine
void setCurrentStateId(const StateId &stateId)
std::string toXML() const
bool inFailureState() const
std::map< StateId, State > getStates() const
StateId getInitialStateId() const
void setInitialState(const StateId &stateId)
void setSelf(const AgentID &self)
implements a XML parser that generates a state machine from a given spec. file; uses the tinyXML libr...
std::string toString() const
Mapping between roles and actual agent ids.
An embedded state machine with mappings.
const RoleMapping & getRoleMapping() const
void updateRoleMapping(const ACLMessage &msg, const Transition &transition)
bool inFinalState() const
State & getCurrentStateModifiably()
bool receivedProxiedReply
This class provides a representation of a message conforming to the FIPA specification SC00061...
void addState(const State &state)
void consumeSubStateMachineMessage(const ACLMessage &msg, const fipa::acl::StateMachine &stateMachine, int numberOfSubConversations)
Implements the general AgentID functionality, which is present throughout the fipa specifications(FIP...
Foundation of Physical Intelligent Agents.
int numberOfSubConversations