OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
EntityBlockDisplay.h
Go to the documentation of this file.
1#pragma once
2#include "EntityBlock.h"
3
4class __declspec(dllexport) EntityBlockDisplay : public EntityBlock
5{
6public:
7 EntityBlockDisplay(ot::UID ID, EntityBase* parent, EntityObserver* obs, ModelState* ms, ClassFactoryHandler* factory, const std::string& owner);
8 virtual std::string getClassName(void) override { return "EntityBlockDisplay"; };
9 virtual entityType getEntityType(void) override { return TOPOLOGY; }
10
11 void createProperties();
12 const std::string& getDescription();
13 virtual ot::GraphicsItemCfg* CreateBlockCfg() override;
14 const ot::Connector& getConnectorInput() const { return _inputConnector; }
15
16 static const std::string getIconName() { return "Monitor.svg"; }
17
18private:
19 ot::Connector _inputConnector;
20};
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