Go to the documentation of this file.
26 #include "../model/SignalType.h"
27 #include "../model/State.h"
28 #include "../model/stateinstance/StateInstance.h"
29 #include "../model/Transition.h"
47 using NodeMap = std::map<statechartmodel::StateInstancePtr, std::string>;
48 using EdgeList = QList<statechartmodel::TransitionCPtr>;
79 template <
typename ElementType>
83 char*
value = agget(element,
const_cast<char*
>(attributeName.c_str()));
87 template <
typename ElementType>
91 char*
value = agget(element,
const_cast<char*
>(attributeName.c_str()));
93 return std::string(
value);
96 template <
typename ElementType,
typename ValueType>
101 return agsafeset(element,
const_cast<char*
>(attributeName.c_str()),
const_cast<char*
>(
ValueToString(
value).c_str()),
const_cast<char*
>(
""));
116 void layout(
bool layoutAll);
199 QPointF convertPositionFromGraphViz(QPointF gvPos)
const;
200 float convertScaleFromGraphViz()
const;
201 QPointF convertPositionToGraphViz(QPointF statePos)
const;
207 bool isConnectedToWorker;
246 int layoutRepetition;
266 const std::string& attributeValue);
281 std::string getNodeName(
NodePtr node);
287 NodePtr getNode(
const std::string& name);
315 std::string attributeValue);
366 void broadcastSubstatePositions();
371 void broadcastTransitionSupportPoints();
std::shared_ptr< LockableGraph > LockableGraphPtr
std::shared_ptr< float > FloatPtr
std::map< statechartmodel::StateInstancePtr, std::string > NodeMap
std::shared_ptr< StateInstance > StateInstancePtr
std::shared_ptr< QPointF > QPointPtr
std::shared_ptr< Value > value()
std::string ValueToString(const T &value)
QList< statechartmodel::TransitionCPtr > EdgeList
#define ARMARX_CHECK_EXPRESSION(expression)
This macro evaluates the expression and if it turns out to be false it will throw an ExpressionExcept...
SignalType
The SignalType enum.
std::shared_ptr< const Transition > TransitionCPtr
std::shared_ptr< State > StatePtr
This file offers overloads of toIce() and fromIce() functions for STL container types.