3class __declspec(dllexport) EntityBlockCircuitCapacitor :
public EntityBlockCircuitElement
6 EntityBlockCircuitCapacitor(
ot::UID ID, EntityBase* parent, EntityObserver* obs, ModelState* ms, ClassFactoryHandler* factory,
const std::string& owner);
7 virtual std::string getClassName(
void)
override {
return "EntityBlockCircuitCapacitor"; };
8 virtual entityType getEntityType(
void)
override {
return TOPOLOGY; };
9 virtual void createProperties()
override;
10 std::string getElementType();
14 const double getRotation();
15 const std::string getFlip();
16 const ot::Connector getLeftConnector()
const {
return m_LeftConnector; }
17 const ot::Connector getRightConnector()
const {
return m_RightConnector; }
18 virtual bool updateFromProperties(
void)
override;
21 ot::Connector m_LeftConnector;
22 ot::Connector m_RightConnector;
25 void AddStorageData(bsoncxx::builder::basic::document& storage)
override;
26 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