fipa_acl  1.4
Public Member Functions | List of all members
fipa::acl::default_transition::GeneralFailure Class Reference

#include <transition.h>

Inherits fipa::acl::Transition.

Public Member Functions

 GeneralFailure (const StateId &sourceState)
 
- Public Member Functions inherited from fipa::acl::Transition
 Transition ()
 empty constructor for the transition class; initializes fields More...
 
 Transition (const Role &senderRole, const Role &receiverRole, const fipa::acl::ACLMessage::Performative &performative, const fipa::acl::StateId &sourceState, const fipa::acl::StateId &targetState)
 
 Transition (const Role &senderRole, const Role &receiverRole, const std::string &performativeRegExp, const StateId &sourceState, const StateId &targetState)
 
bool triggers (const ACLMessage &msg, const ACLMessage &initiatingMsg, const RoleMapping &roleMapping) const
 check whether a certain message trigger the execution of the transition More...
 
bool validateMessage (const ACLMessage &msg, const ACLMessage &validatorMsg, const RoleMapping &roleMapping, validation::Flags flags=validation::ALL) const
 method that validates all parameters of a message More...
 
void setPerformativeRegExp (const std::string &performativeRegExp)
 setter methods for various fields of the class More...
 
void setPerformative (const fipa::acl::ACLMessage::Performative &performative)
 setter methods for various fields of the class More...
 
void setSourceState (const StateId &stateId)
 
void setTargetState (const StateId &stateId)
 
void setSenderRole (const Role &role)
 
void setReceiverRole (const Role &role)
 
Role getSenderRole () const
 
Role getReceiverRole () const
 
std::string getPerformativeRegExp () const
 getter methods for various fields of the class More...
 
StateId getSourceStateId () const
 
StateId getTargetStateId () const
 
std::string toString () const
 
std::string toXML () const
 
bool operator== (const Transition &t) const
 

Detailed Description

Transition into (terminal) general failure state – when a third party (which might not be part of the actual conversation) notifies the system about an error TODO: Safety, i.e. handling rejection of 'false' injected errors, e.g. by setting a list of trusted agents (via pattern or similar), for now all (.*) agents

Definition at line 212 of file transition.h.

Constructor & Destructor Documentation

◆ GeneralFailure()

fipa::acl::default_transition::GeneralFailure::GeneralFailure ( const StateId sourceState)

Definition at line 249 of file transition.cpp.

250  : Transition(Role(".*"), SelfRole(), ACLMessage::FAILURE, sourceState, State::GENERAL_FAILURE_STATE)
251 {}
static const StateId GENERAL_FAILURE_STATE
Definition: state.h:108
Transition()
empty constructor for the transition class; initializes fields
Definition: transition.cpp:14

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