Go to the documentation of this file.
30 #include <ArmarXCore/interface/statechart/StatechartIce.h>
36 #define DEFINEEVENT(NEWEVENT) struct NEWEVENT : Event{ \
37 NEWEVENT(std::string eventReceiverName): \
38 Event(eventReceiverName, #NEWEVENT){ }\
94 bool equalKeys(
const StringVariantContainerBaseMap& dict1,
const StringVariantContainerBaseMap& dict2);
99 void copyDictionary(
const StringVariantContainerBaseMap&
source, StringVariantContainerBaseMap& destination);
110 void fillDictionary(
const StringVariantContainerBaseMap&
source, StringVariantContainerBaseMap& destination);
The Variant class is described here: Variants.
void fillDictionary(const StringVariantContainerBaseMap &source, StringVariantContainerBaseMap &destination)
Tries to fill the destination map with matching entries of the source map. Entries that could not be ...
bool waitForChannelRefs(const StateParameterMap ¶mMap)
Waits for all ChannelRefs to be initialized in the given Map.
TransitionErrorType errorType
IceInternal::Handle< SingleTypeVariantList > SingleTypeVariantListPtr
@ eTransitionErrorUndefined
std::shared_ptr< Value > value()
QMap< QString, StateParameterPtr > StateParameterMap
std::string getVariantString(const VariantBasePtr &var, const std::string &name="")
void copyDictionary(const StringVariantContainerBaseMap &source, StringVariantContainerBaseMap &destination)
Clears the destination map and copies the parameters of the source in it.
bool equalKeys(const StringVariantContainerBaseMap &dict1, const StringVariantContainerBaseMap &dict2)
Checks whether the maps have equal keys and equal Types.
std::string transitionErrorToString(TransitionErrorType type)
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
std::string getDictionaryString(const StringVariantContainerBaseMap &mymap)
Converts the map into a string-representation.
void unsetParameters(StateParameterMap ¶mMap)
Sets all entries of the given dictionary to the stored default values.
@ eTransitionErrorUnexpectedEvent
bool addToDictionary(EventPtr event, const std::string key, const Variant &value)
Adds the (key,defaulfValue) pair to the event-dictionary.
std::vector< std::string > infos
vector to store info data in
StringVariantContainerBaseMap getValues(const StateParameterMap ¶mMap)
StringVariantContainerBaseMap getSetValues(const StateParameterMap ¶mMap)
const VariantTypeId SingleTypeVariantList
bool checkForCompleteParameters(const StateParameterMap ¶mMap, std::string *logOutput=nullptr)
This file offers overloads of toIce() and fromIce() functions for STL container types.