PLCnext API Documentation  22.9.0.33
IApplication.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 #include "Arp/System/Acf/IComponent.hpp"
9 
10 namespace Arp { namespace System { namespace Acf
11 {
12 
19 {
20 public: // construction/destruction
22  IApplication(void) = default;
24  virtual ~IApplication(void) = default;
25 
26 public: // properties
28  virtual String GetName(void)const = 0;
29 
30 private: // deleted methods to avoid copying
31  IApplication(const IApplication& arg) = delete;
32  IApplication& operator=(const IApplication& arg) = delete;
33 };
34 
36 // inline methods of interface IApplication
37 
38 }}} // end of namesapce Arp::System::Acf
This interface shall be implemented by the application class.
Definition: IApplication.hpp:19
virtual ~IApplication(void)=default
The default destructor.
IApplication(void)=default
The default constructor.
virtual String GetName(void) const =0
Gets the system wide unique name of the application or process, respectively.
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API