| /* |
| * ConnectedRelationshipElement.h |
| * |
| * Author: wendel |
| */ |
| |
| #ifndef AAS_BACKEND_SUBMODELELEMENT_CONNECTEDRELATIONSHIPELEMENT_H_ |
| #define AAS_BACKEND_SUBMODELELEMENT_CONNECTEDRELATIONSHIPELEMENT_H_ |
| |
| #include <BaSyx/shared/types.h> |
| |
| #include <BaSyx/vab/core/proxy/IVABElementProxy.h> |
| |
| #include <BaSyx/submodel/api/submodelelement/ISubmodelElement.h> |
| #include <BaSyx/submodel/api/submodelelement/IRelationshipElement.h> |
| #include <BaSyx/submodel/connected/submodelelement/ConnectedSubmodelElement.h> |
| |
| #include <string> |
| |
| namespace basyx { |
| namespace submodel { |
| |
| class ConnectedRelationshipElement : public ConnectedSubmodelElement, public IRelationshipElement |
| { |
| public: |
| ConnectedRelationshipElement(std::shared_ptr<vab::core::proxy::IVABElementProxy> proxy); |
| ~ConnectedRelationshipElement() = default; |
| |
| // Inherited via IRelationshipElement |
| virtual void setFirst(const IReference & first) override; |
| virtual std::shared_ptr<IReference> getFirst() const override; |
| virtual void setSecond(const IReference & second) override; |
| virtual std::shared_ptr<IReference> getSecond() const override; |
| }; |
| |
| |
| } |
| } |
| |
| #endif |