45 #ifndef __TARGET_RETURN_H__
46 #define __TARGET_RETURN_H__
61 class ReturnTargetFactory;
129 virtual bool connectStates( std::map< std::string, State * > & stateMap );
170 virtual const char *
name()
const {
return "return"; }
180 return "Defines the transition target as the state the agent was in when "\
181 "it advanced to this state.";
200 #endif // __TARGET_RETURN_H__
The base class for transition targets.
Definition: Target.h:77
The basic state of the behavior finite state machine.
Definition: State.h:123
std::map< size_t, State * > _targets
A mapping between an agent id and its return state.
Definition: TargetReturn.h:146
virtual const char * name() const
The name of the action.
Definition: TargetReturn.h:170
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Sets up the proper compiler directives for platform and dll export/import.
The definition of a readers-writer lock.
Definition: ReadersWriterLock.h:62
ReadersWriterLock _lock
Lock to protect _targets;.
Definition: TargetReturn.h:151
The basis for determing what an active transition leads to.
The factory for creating the ReturnTarget.
Definition: TargetReturn.h:160
The definition of the return target.
Definition: TargetReturn.h:75
virtual const char * description() const
A description of the action.
Definition: TargetReturn.h:179
The definition of a readers-writer lock.
The namespace contains the Behavior Finite State Machine (BFSM) definition.
A class for parsing the xml description of a TransitionTarget and instantiating particular instances...
Definition: TargetFactory.h:61
Collection of convenient pre-compiler information for fsm definitions.
Defines the basic agent properties and functionality that all simulation agents share.
Definition: BaseAgent.h:123
virtual TransitionTarget * instance() const
Create an instance of this class's condition.
Definition: TargetReturn.h:195
The factory for parsing xml data for TransitionTarget and instantiating the appropriate class...