39 void addBlockEntity(std::string block,
const std::shared_ptr<EntityBlock> obj);
41 void setId(
const std::string
id);
49 std::map <ot::UID, CircuitElement*> mapOfElements;
50 std::map <std::string, std::vector<std::shared_ptr<EntityBlock>>> mapOfEntityBlocks;
51 std::string editorName;
Definition CircuitElement.h:26
Circuit & operator=(Circuit &&other) noexcept=default
std::map< ot::UID, CircuitElement * > & getMapOfElements()
Definition Circuit.cpp:36
~Circuit()
Definition Circuit.cpp:16
std::string getId()
Definition Circuit.cpp:32
Circuit(const Circuit &other)=default
std::string findElement(const ot::UID &key)
Definition Circuit.cpp:76
void addConnection(std::string connactable, const ot::UID &key, const Connection &obj)
Definition Circuit.cpp:62
std::string getEditorName()
Definition Circuit.cpp:26
std::map< std::string, std::vector< std::shared_ptr< EntityBlock > > > & getMapOfEntityBlcks()
Definition Circuit.cpp:40
Circuit()
Definition Circuit.cpp:11
Circuit(Circuit &&other) noexcept=default
void addBlockEntity(std::string block, const std::shared_ptr< EntityBlock > obj)
Definition Circuit.cpp:48
Circuit & operator=(const Circuit &other)=default
void setId(const std::string id)
Definition Circuit.cpp:58
void setEditorName(std::string name)
Definition Circuit.cpp:54
void addElement(ot::UID key, CircuitElement *obj)
Definition Circuit.cpp:44
Definition Connection.h:12
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27