|
This is the standard implementation of FinalStateBase. More...
#include <ArmarXCore/statechart/standardstates/FinalState.h>
Static Public Member Functions | |
static StatePtr | createState (const EventPtr &event) |
createState creates a finalstate instance with the specified event type. More... | |
![]() | |
static IceInternal::Handle< StateType > | createInstance (std::string stateName="") |
Creates a new state instance of the type of the template parameter. More... | |
Additional Inherited Members | |
![]() | |
using | Type = StateType |
![]() | |
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... | |
StatePtr | addState (std::string stateName) |
Overridden function, which always throws an exception, to forbid the usage of this function here. More... | |
FinalStateBase () | |
![]() | |
StateBasePtr | clone () const override |
Creates a copy of this state. More... | |
![]() | |
void | defineParameters () override |
void | onEnter () override |
![]() | |
StateTemplate () | |
~StateTemplate () override | |
![]() | |
EventPtr | eventToSend |
Event that is automatically sent when this state is entered. More... | |
This is the standard implementation of FinalStateBase.
It should be used, if no additional functionality is needed. The template parameter EventType specifies the event that is automatically send, when this state is entered.
Definition at line 145 of file FinalState.h.
createState creates a finalstate instance with the specified event type.
This function is needed if the EventType is only known at runtime.
event | EventType that is automatically send in StateBase::onEnter() |
Definition at line 156 of file FinalState.h.