PLCnext API Documentation 25.0.2.69
Public Types | Public Member Functions | Protected Member Functions | List of all members
Arp::Plc::Commons::Meta::IDataInfoProvider Class Referenceabstract

Interface to provide information about component roots More...

#include <IDataInfoProvider.hpp>

Inheritance diagram for Arp::Plc::Commons::Meta::IDataInfoProvider:
Inheritance graph

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.
 

Detailed Description

Interface to provide information about component roots

The component roots form the base to determine the addresses of variables published by the component.

Member Function Documentation

◆ GetRoot()

virtual DataInfo Arp::Plc::Commons::Meta::IDataInfoProvider::GetRoot ( const String name)
pure virtual

Returns the requested root variable of the component

Parameters
nameName of the root variable
Returns
DataInfo object for the variable or an empty DataInfo if name is not found

Implemented in Arp::Plc::Commons::Meta::ChangeDataInfoProvider, and Arp::Plc::Commons::Meta::DataInfoProvider.

◆ GetRoots()

virtual IEnumerator< constDataInfo & >::Ptr Arp::Plc::Commons::Meta::IDataInfoProvider::GetRoots ( void  )
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.


The documentation for this class was generated from the following file: