OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
PortData.h
Go to the documentation of this file.
1#pragma once
3#include <list>
4#include <memory>
5
7{
8public:
9 PortData(const std::string& portName, const ot::GenericDataStructList& values, bool modified);
10 PortData(PortData&& other) noexcept;
11 PortData(const PortData& other) = delete;
12 PortData& operator=(PortData&& other) noexcept;
13 PortData& operator=(const PortData& other) = delete;
14 ~PortData();
15 void overrideValues(const ot::GenericDataStructList& values);
17 const bool getModified() const;
19private:
20 std::string _portName;
21 bool _modified;
23
24 void FreeMemory();
25};
Definition PortData.h:7
ot::GenericDataStructList HandDataOver()
Definition PortData.cpp:44
const bool getModified() const
Definition PortData.cpp:39
~PortData()
Definition PortData.cpp:22
PortData & operator=(const PortData &other)=delete
PortData(const std::string &portName, const ot::GenericDataStructList &values, bool modified)
Definition PortData.cpp:3
PortData(const PortData &other)=delete
const ot::GenericDataStructList & getValues() const
Definition PortData.cpp:34
PortData & operator=(PortData &&other) noexcept
Definition PortData.cpp:14
void overrideValues(const ot::GenericDataStructList &values)
Definition PortData.cpp:27
std::list< ot::GenericDataStruct * > GenericDataStructList
Definition GenericDataStruct.h:27