15 const std::map<ot::UID, std::shared_ptr<GraphNode>>&
getgraphNodesByBlockID()
const {
return m_graphNodeByBlockID; };
16 const std::list < std::shared_ptr<GraphNode>>&
getRootNodes()
const {
return m_rootNodes; }
20 std::map<ot::UID, std::shared_ptr<GraphNode>> m_graphNodeByBlockID;
21 std::map<std::shared_ptr<GraphNode>, std::shared_ptr<EntityBlock>> m_entityByGraphNode;
22 std::list < std::shared_ptr<GraphNode>> m_rootNodes;
24 const std::string getNameWithoutRoot(EntityBase* _entity);
26 bool allRequiredConnectionsSet(std::map<
ot::UID, std::shared_ptr<EntityBlock>>& _allBlockEntitiesByBlockID, std::map<
ot::UID, std::shared_ptr<EntityBlockConnection>>& _allConnectionsByID);
27 std::map<ot::UID, std::shared_ptr<EntityBlockConnection>> loadAllConnections(std::map<
ot::UID, std::shared_ptr<EntityBlock>>& _allBlockEntitiesByBlockID);
28 void sortOutUnusedBlocks(std::map<
ot::UID, std::shared_ptr<EntityBlock>>& _allBlockEntitiesByBlockID);
29 void sortOutDanglingConnections(std::map<
ot::UID, std::shared_ptr<EntityBlock>>& _allBlockEntitiesByBlockID, std::map<
ot::UID, std::shared_ptr<EntityBlockConnection>>& _allConnectionsByID);
31 bool allConnectionsAreValid(std::map<
ot::UID, std::shared_ptr<EntityBlock>>& _allBlockEntitiesByBlockID, std::map<
ot::UID, std::shared_ptr<EntityBlockConnection>>& _allConnectionsByID);
32 bool entityHasIncommingConnectionsSet(std::shared_ptr<EntityBlock>& blockEntity, std::map<
ot::UID, std::shared_ptr<EntityBlockConnection>>& _allConnectionsByID, std::string& uiMessage);
33 bool hasNoCycle(std::map<
ot::UID, std::shared_ptr<EntityBlock>>& allBlockEntitiesByBlockID,std::map<
ot::UID, std::shared_ptr<EntityBlockConnection>>& _allConnectionsByID);
34 Graph buildGraph(std::map<
ot::UID, std::shared_ptr<EntityBlock>>& _allBlockEntitiesByBlockID, std::map<
ot::UID, std::shared_ptr<EntityBlockConnection>>& _allConnectionsByID);