PLCnext API Documentation 25.0.2.69
|
Interface to provide information about component roots More...
#include <IDataInfoProvider.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IDataInfoProvider > |
std::shared_ptr to IDataInfoProvider | |
Public Member Functions | |
virtual IEnumerator< constDataInfo & >::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. | |
virtual | ~IDataInfoProvider (void)=default |
Destructs this instance and frees all resources. | |
Interface to provide information about component roots
The component roots form the base to determine the addresses of variables published by the component.
|
pure virtual |
Returns the requested root variable of the component
name | Name of the root variable |
Implemented in Arp::Plc::Commons::Meta::ChangeDataInfoProvider, and Arp::Plc::Commons::Meta::DataInfoProvider.
|
pure virtual |
Returns an IEnumerator to enumerate all root variables of the component
Implemented in Arp::Plc::Commons::Meta::ChangeDataInfoProvider, and Arp::Plc::Commons::Meta::DataInfoProvider.