PLCnext API Documentation
25.0.2.69
Arp
Plc
Meta
Commons
IIoMetaComponent.hpp
1
2
//
3
// Copyright Phoenix Contact GmbH & Co. KG
4
//
6
#pragma once
7
#include "
Arp/Base/Core/Arp.hpp
"
8
9
10
namespace
Arp::Plc::Meta::Commons::Io
11
{
12
class
VariableRegistry;
13
}
14
15
namespace
Arp::Plc::Meta::Commons
16
{
17
23
class
ARP_EXPORT
IIoMetaComponent
24
{
25
public
:
// usings
26
using
Ptr = std::shared_ptr<IIoMetaComponent>;
27
using
VariableRegistry
=
Arp::Plc::Meta::Commons::Io::VariableRegistry
;
28
29
public
:
// canonical construction/destruction/assignment
31
IIoMetaComponent
(
void
) =
default
;
33
IIoMetaComponent
(
const
IIoMetaComponent
& arg) =
default
;
35
IIoMetaComponent
(
IIoMetaComponent
&& arg)
noexcept
=
default
;
37
IIoMetaComponent
&
operator=
(
const
IIoMetaComponent
& arg) =
default
;
39
IIoMetaComponent
&
operator=
(
IIoMetaComponent
&& arg)
noexcept
=
default
;
41
virtual
~IIoMetaComponent
(
void
) =
default
;
42
43
public
:
// abstract operations
46
virtual
VariableRegistry
&
GetVariableRegistry
() = 0;
47
};
48
49
}
// end of namespace Arp::Plc::Meta::Commons
Arp.hpp
Arp::Plc::Meta::Commons::IIoMetaComponent
Interface for all components providing IO related meta data
Definition:
IIoMetaComponent.hpp:24
Arp::Plc::Meta::Commons::IIoMetaComponent::operator=
IIoMetaComponent & operator=(IIoMetaComponent &&arg) noexcept=default
Move-assignment operator.
Arp::Plc::Meta::Commons::IIoMetaComponent::GetVariableRegistry
virtual VariableRegistry & GetVariableRegistry()=0
Gets the VariableRegistry of this component to provide meta data of this IO component.
Arp::Plc::Meta::Commons::IIoMetaComponent::operator=
IIoMetaComponent & operator=(const IIoMetaComponent &arg)=default
Copy-assignment operator.
Arp::Plc::Meta::Commons::IIoMetaComponent::IIoMetaComponent
IIoMetaComponent(IIoMetaComponent &&arg) noexcept=default
Move constructor.
Arp::Plc::Meta::Commons::IIoMetaComponent::IIoMetaComponent
IIoMetaComponent(const IIoMetaComponent &arg)=default
Copy constructor.
Arp::Plc::Meta::Commons::IIoMetaComponent::~IIoMetaComponent
virtual ~IIoMetaComponent(void)=default
Destructs this instance and frees all resources.
Arp::Plc::Meta::Commons::IIoMetaComponent::IIoMetaComponent
IIoMetaComponent(void)=default
Constructs an IIoMetaComponent instance.
Arp::Plc::Meta::Commons::Io::VariableRegistry
This class is used to register IO variables
Definition:
VariableRegistry.hpp:20
Arp::Plc::Meta::Commons::Io
Namespace for interface types for IO variables
Arp::Plc::Meta::Commons
Namespace for interface types of the Meta component
Generated on Mon May 12 2025 14:03:50 for PLCnext API Documentation by
1.9.4