IOLink IOL_v1.8.0_release
Loading...
Searching...
No Matches
DataAccess.h
1#pragma once
2
3#include <memory>
4#include <string>
5
6#include <iolink/IOLinkAPI.h>
7
8namespace iolink
9{
10
11class DataStorage;
12
19class IOLINK_API DataAccess
20{
21public:
22 virtual ~DataAccess() = default;
23
27 virtual std::shared_ptr<DataStorage> storage() const = 0;
28
32 virtual const std::string& resourceId() const = 0;
33};
34
35} // namespace iolink