|
#include <ArmarXCore/statechart/standardstates/FinalState.h>
Public Member Functions | |
RemoteStatePtr | addRemoteState (std::string stateName, std::string proxyName, std::string instanceName="") override |
Overridden function, which always throws an exception, to forbid the usage of this function here. More... | |
template<class derivedClass > | |
StatePtr | addState (std::string stateName) |
Overridden function, which always throws an exception, to forbid the usage of this function here. More... | |
FinalStateBase () | |
Public Member Functions inherited from StateTemplate< StateType > | |
StateBasePtr | clone () const override |
Creates a copy of this state. More... | |
Protected Member Functions | |
void | defineParameters () override |
void | onEnter () override |
Protected Member Functions inherited from StateTemplate< StateType > | |
StateTemplate () | |
~StateTemplate () override | |
Protected Attributes | |
EventPtr | eventToSend |
Event that is automatically sent when this state is entered. More... | |
Friends | |
template<class Event > | |
class | FinalState |
Additional Inherited Members | |
Public Types inherited from StateTemplate< StateType > | |
using | Type = StateType |
Static Public Member Functions inherited from StateTemplate< StateType > | |
static IceInternal::Handle< StateType > | createInstance (std::string stateName="") |
Creates a new state instance of the type of the template parameter. More... | |
Base class for all Finalstates. Finalstates automatically send in onEnter() an event to the grandparent state that triggers the parent state to be left.
Before sending the event the output-dictionary of the parentstate is filled. The input-dictionary of the FinalState is copied from the output-dictionary of the parent state before StateBase::onEnter(). To map from the output of the previous state to the output of the parent state, the mapping has to be specified for the transition between FinalState and the previous state.
@Note onExit() will not be called in this state.
Definition at line 48 of file FinalState.h.
|
inline |
Definition at line 106 of file FinalState.h.
|
inlineoverride |
Overridden function, which always throws an exception, to forbid the usage of this function here.
Definition at line 121 of file FinalState.h.
|
inline |
Overridden function, which always throws an exception, to forbid the usage of this function here.
Definition at line 114 of file FinalState.h.
|
inlineoverrideprotected |
Definition at line 79 of file FinalState.h.
|
inlineoverrideprotected |
Definition at line 95 of file FinalState.h.
|
friend |
Definition at line 133 of file FinalState.h.
|
protected |
Event that is automatically sent when this state is entered.
Definition at line 130 of file FinalState.h.