42 return "GraspPositionReached";
45 virtual void onInitStatechart();
46 virtual void onConnectStatechart();
50 struct stateInstallCondition;
94 Literal checkAngles1(
"Armar4Observer.jointangles.LeftArm_Joint1",
97 Literal checkAngles2(
"Armar4Observer.jointangles.LeftArm_Joint2",
100 Literal checkAngles3(
"Armar4Observer.jointangles.Torso_Joint2",
#define ARMARXCOMPONENT_IMPORT_EXPORT
#define DEFINEEVENT(NEWEVENT)
this macro declares a new event-class derived vom Event, to have a compiletime check for typos in eve...
virtual std::string getDefaultName() const
Retrieve default name of component.
Literals are part of the user front end of the ArmarX condition mechanism.
static VarList createParameterList()
Static helper method to create an empty parameterlist.
static ParameterMappingPtr createMapping()
Creates a new instance of a ParameterMapping. Since the constructors are private, this method must be...
void removeCondition(ConditionIdentifier conditionId)
Utility function to remove an installed condition on the distributed conditionhandler.
ConditionIdentifier installCondition(const Term &condition, const EventPtr evt, const std::string &desc="")
Utility function to install a condition on the distributed conditionhandler.
StateBasePtr addState(StateBasePtr pNewState)
bool addToInput(const std::string &key, const ContainerType &type, bool optional, VariantContainerBasePtr defaultValue=VariantContainerBasePtr())
Adds a key,type-pair to the input parameters.
StateBasePtr setInitState(StateBasePtr initState, ParameterMappingPtr initialStateMapping=ParameterMappingPtr())
Sets the initial substate of this state.
TransitionIceBase & addTransition(EventPtr event, StateIceBasePtr sourceState, StateIceBasePtr destinationState, ParameterMappingIceBasePtr mappingToNextStatesInput=nullptr, ParameterMappingIceBasePtr mappingToParentStatesLocal=nullptr, ParameterMappingIceBasePtr mappingToParentStatesOutput=nullptr)
bool addToOutput(const std::string &key, VariantTypeId type, bool optional)
Adds a key,type-pair to the output parameters.
StateBasePtr getInitState() const
Getter for the initial state. The initial state is automatically entered, when this state is entered.
const VariantTypeId Float
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceInternal::Handle< State > StatePtr
IceInternal::Handle< ParameterMapping > ParameterMappingPtr
void defineState()
Virtual function, in which this state can be configured.
void onEnter()
Virtual function, in which the behaviour of state is defined, when it is entered. Can be overridden,...
void defineSubstates()
Virtual function, in which substates, transition and mappings can be added.
void defineParameters()
Virtual function, in which input/local/output parameters can be specified.
ConditionIdentifier condId
void onEnter()
Virtual function, in which the behaviour of state is defined, when it is entered. Can be overridden,...
void onExit()
Virtual function, in which the behaviour of state is defined, when it is exited. Can be overridden,...