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);
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();
#define ARMARX_CHECK_EXPRESSION(expression)
This macro evaluates the expression and if it turns out to be false it will throw an ExpressionExcept...
std::shared_ptr< State > StatePtr
std::shared_ptr< StateInstance > StateInstancePtr
std::shared_ptr< const Transition > TransitionCPtr
SignalType
The SignalType enum.
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::shared_ptr< QPointF > QPointPtr
std::shared_ptr< LockableGraph > LockableGraphPtr
std::map< statechartmodel::StateInstancePtr, std::string > NodeMap
QList< statechartmodel::TransitionCPtr > EdgeList
ElementTypes::ElementType ElementType
std::shared_ptr< float > FloatPtr
std::string ValueToString(const T &value)