Go to the documentation of this file.
36 #include "../model/SignalType.h"
37 #include "../model/State.h"
38 #include "../model/Transition.h"
39 #include "../model/stateinstance/StateInstance.h"
47 using NodeMap = std::map<statechartmodel::StateInstancePtr, std::string>;
48 using EdgeList = QList<statechartmodel::TransitionCPtr>;
79 template <
typename ElementType>
84 char*
value = agget(element,
const_cast<char*
>(attributeName.c_str()));
88 template <
typename ElementType>
93 char*
value = agget(element,
const_cast<char*
>(attributeName.c_str()));
95 <<
"Could not get attribute '" << attributeName <<
"'' from element";
96 return std::string(
value);
99 template <
typename ElementType,
typename ValueType>
102 const std::string& attributeName,
103 const ValueType&
value)
const
107 return agsafeset(element,
108 const_cast<char*
>(attributeName.c_str()),
110 const_cast<char*
>(
""));
123 const FloatPtr& labelFontPointSize);
129 void layout(
bool layoutAll);
215 QPointF convertPositionFromGraphViz(QPointF gvPos)
const;
216 float convertScaleFromGraphViz()
const;
217 QPointF convertPositionToGraphViz(QPointF statePos)
const;
223 bool isConnectedToWorker;
262 int layoutRepetition;
282 const std::string& attributeName,
283 const std::string& attributeValue);
291 const std::string& attributeName);
293 const std::string& attributeName);
300 std::string getNodeName(
NodePtr node);
306 NodePtr getNode(
const std::string& name);
334 std::string attributeName,
335 std::string attributeValue);
343 std::string attributeName);
345 std::string attributeName);
388 void broadcastSubstatePositions();
393 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.