|
PLCnext API Documentation
22.6.0.43
|
Interface to provide information about component roots More...
#include <IDataInfoProvider.hpp>

Public Types | |
| using | Ptr = std::shared_ptr< IDataInfoProvider > |
| std::shared_ptr to IDataInfoProvider More... | |
Public Member Functions | |
| virtual IEnumerator< const DataInfo & >::Ptr | GetRoots (void)=0 |
| Returns an IEnumerator to enumerate all root variables of the component More... | |
| virtual DataInfo | GetRoot (const String &name)=0 |
| Returns the requested root variable of the component More... | |
Protected Member Functions | |
| IDataInfoProvider (void)=default | |
| Constructs an IDataInfoProvider instance. More... | |
| virtual | ~IDataInfoProvider (void)=default |
| Destructs this instance and frees all resources. More... | |
Interface to provide information about component roots
The component roots form the base to determine the addresses of variables published by the component.
| using Arp::Plc::Commons::Meta::IDataInfoProvider::Ptr = std::shared_ptr<IDataInfoProvider> |
std::shared_ptr to IDataInfoProvider
|
protecteddefault |
Constructs an IDataInfoProvider instance.
|
protectedvirtualdefault |
Destructs this instance and frees all resources.
|
pure virtual |
Returns the requested root variable of the component
| name | Name of the root variable |
Implemented in Arp::Plc::Commons::Meta::DataInfoProvider, and Arp::Plc::Commons::Meta::ChangeDataInfoProvider.
|
pure virtual |
Returns an IEnumerator to enumerate all root variables of the component
Implemented in Arp::Plc::Commons::Meta::DataInfoProvider, and Arp::Plc::Commons::Meta::ChangeDataInfoProvider.