OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
EntitySolverPort.h
Go to the documentation of this file.
1#pragma once
2#pragma warning(disable : 4251)
3
4#include "EntityContainer.h"
5
6class __declspec(dllexport) EntitySolverPort : public EntityContainer
7{
8public:
9
10 EntitySolverPort(ot::UID ID, EntityBase *parent, EntityObserver *obs, ModelState *ms, ClassFactoryHandler* factory, const std::string &owner);
11 virtual ~EntitySolverPort();
12
13 virtual void addVisualizationNodes(void) override;
14
15 virtual std::string getClassName(void) override { return "EntitySolverPort"; };
16
17 virtual entityType getEntityType(void) override { return TOPOLOGY; };
18
19 virtual bool considerForPropertyFilter(void) override { return true; };
20 virtual bool considerChildrenForPropertyFilter(void) override { return false; };
21
22 virtual bool updateFromProperties(void) override;
23
24 void createProperties(const std::string signalTypeFolderName, ot::UID signalTypeFolderID, std::string signalName, ot::UID signalUID);
25
26 static const std::string GetPropertyNameSignal();
27 static const std::string GetPropertyNameSelectionMethod();
28 static const std::string GetPropertyNameXCoordinate();
29 static const std::string GetPropertyNameYCoordinate();
30 static const std::string GetPropertyNameZCoordinate();
31 static const std::string GetPropertyNameExcitationAxis();
32 static const std::string GetPropertyNameExcitationTarget();
33
34 static const std::string GetValueSelectionMethodCentre();
35 static const std::string GetValueSelectionMethodFree();
36
37 static const std::string GetValueExcitationAxisX();
38 static const std::string GetValueExcitationAxisY();
39 static const std::string GetValueExcitationAxisZ();
40
41 static const std::string GetValueExcitationTargetE();
42 static const std::string GetValueExcitationTargetH();
43
44
45protected:
46 bool UpdateVisibillity();
47
48 virtual int getSchemaVersion(void) override { return 1; };
49};
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27