2class __declspec(dllexport) EntityBlockCircuitDiode :
public EntityBlockCircuitElement
5 EntityBlockCircuitDiode(
ot::UID ID, EntityBase* parent, EntityObserver* obs, ModelState* ms, ClassFactoryHandler* factory,
const std::string& owner);
6 virtual std::string getClassName(
void)
override {
return "EntityBlockCircuitDiode"; };
7 virtual entityType getEntityType(
void)
override {
return TOPOLOGY; };
8 virtual void createProperties()
override;
9 std::string getElementType();
13 const double getRotation();
14 const std::string getFlip();
15 const ot::Connector getLeftConnector()
const {
return m_LeftConnector; }
16 const ot::Connector getRightConnector()
const {
return m_RightConnector; }
17 virtual bool updateFromProperties(
void)
override;
20 ot::Connector m_LeftConnector;
21 ot::Connector m_RightConnector;
24 void AddStorageData(bsoncxx::builder::basic::document& storage)
override;
25 void readSpecificDataFromDataBase(bsoncxx::document::view& doc_view, std::map<ot::UID, EntityBase*>& entityMap)
override;
The GraphicsItemCfg is the base class for all graphics item configurations.
Definition GraphicsItemCfg.h:33
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27