PLCnext API Documentation  20.6.0.30321
IMetaComponent.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 #include "Arp/Plc/Commons/Meta/IChangeNavigator.hpp"
9 #include "Arp/Plc/Commons/Meta/IDataInfoProvider.hpp"
10 
11 namespace Arp { namespace Plc { namespace Commons { namespace Meta
12 {
13 
14 class IDataNavigator;
15 
17 {
18 public: // typedefs
19  typedef std::shared_ptr<IMetaComponent> Ptr;
20 
21 protected: // construction/destruction
23  IMetaComponent(void) = default;
25  virtual ~IMetaComponent(void) = default;
26 
27 public: // abstract operations
28  virtual IDataInfoProvider& GetDataInfoProvider(bool useBackgroundDomain) = 0;
29 
32  virtual IDataNavigator* GetDataNavigator(void) = 0;
33 
34 private: // deleted methods (for non-copyable classes)
35  IMetaComponent(const IMetaComponent& arg) = delete;
36  IMetaComponent& operator=(const IMetaComponent& arg) = delete;
37 };
38 
39 }}}} // end of namespace Arp::Plc::Commons::Meta
virtual IDataNavigator * GetDataNavigator(void)=0
Gets the specialized IDataNavigator of this component.
virtual ~IMetaComponent(void)=default
Destructs this instance and frees all resources.
IMetaComponent(void)=default
Constructs an IMetaComponent instance.
Root namespace for the PLCnext API
Definition: IMetaComponent.hpp:16
Definition: IDataInfoProvider.hpp:14