jwendelil4 | ee5bf28 | 2020-05-25 16:20:07 +0200 | [diff] [blame] | 1 | #ifndef BASYX_MAP_V2_SDK_DATASPECIFICATION |
| 2 | #define BASYX_MAP_V2_SDK_DATASPECIFICATION |
| 3 | |
| 4 | #include <BaSyx/submodel/api_v2/dataspecification/IDataSpecification.h> |
jwendelil4 | ee5bf28 | 2020-05-25 16:20:07 +0200 | [diff] [blame] | 5 | #include <BaSyx/submodel/map_v2/dataspecification/DataSpecificationContent.h> |
Constantin Ziesche | 02817f1 | 2020-08-04 21:40:43 +0200 | [diff] [blame^] | 6 | #include <BaSyx/submodel/map_v2/qualifier/Identifiable.h> |
jwendelil4 | ee5bf28 | 2020-05-25 16:20:07 +0200 | [diff] [blame] | 7 | #include <BaSyx/submodel/simple/dataspecification/DataSpecification.h> |
| 8 | |
| 9 | #include <BaSyx/vab/ElementMap.h> |
| 10 | |
| 11 | namespace basyx { |
| 12 | namespace submodel { |
| 13 | namespace map { |
| 14 | |
| 15 | class DataSpecification : |
| 16 | public api::IDataSpecification, |
| 17 | public virtual Identifiable, |
| 18 | public virtual vab::ElementMap |
| 19 | { |
| 20 | private: |
Thomas Psota | b3dfbea | 2020-06-24 12:45:38 +0200 | [diff] [blame] | 21 | std::unique_ptr<DataSpecificationContent> content; |
jwendelil4 | ee5bf28 | 2020-05-25 16:20:07 +0200 | [diff] [blame] | 22 | public: |
Constantin Ziesche | 02817f1 | 2020-08-04 21:40:43 +0200 | [diff] [blame^] | 23 | DataSpecification(const std::string & idShort, const simple::Identifier & identifier, std::unique_ptr<DataSpecificationContent> content); |
| 24 | DataSpecification(const std::string & idShort, const simple::Identifier & identifier); |
jwendelil4 | ee5bf28 | 2020-05-25 16:20:07 +0200 | [diff] [blame] | 25 | |
| 26 | api::IDataSpecificationContent & getContent() override; |
| 27 | |
Constantin Ziesche | 02817f1 | 2020-08-04 21:40:43 +0200 | [diff] [blame^] | 28 | void setContent(std::unique_ptr<DataSpecificationContent> content); |
jwendelil4 | ee5bf28 | 2020-05-25 16:20:07 +0200 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | #endif //BASYX_MAP_V2_SDK_DATASPECIFICATION_H |