IOLink  IOL_v1.6.1_release
View.h
1 #pragma once
2 
3 #include <memory>
4 
5 #include <iolink/IOLinkAPI.h>
6 #include <iolink/view/Extension.h>
7 #include <iolink/view/ViewOriginExtension.h>
8 
9 namespace iolink
10 {
11 
15 class IOLINK_API View
16 {
17 public:
18  virtual ~View() = default;
19 
29  virtual std::shared_ptr<Extension> extension(size_t id);
30 
34  std::shared_ptr<ViewOriginExtension> viewOrigin();
35 };
36 
37 } // namespace iolink