|
PLCnext API Documentation 26.6.0.38
|
This service enables browsing and querying of meta data about variables. More...
#include <IVariableBrowseService.hpp>

Public Types | |
| using | Ptr = std::shared_ptr< IVariableBrowseService > |
| using | GetChildrenResultDelegate = delegate< void(IRscReadEnumerator< VariableBrowseResult > &)> |
| using | GetComponentNamesResultDelegate = delegate< void(IRscReadEnumerator< RscString< 512 > > &)> |
| using | GetRootsResultDelegate = delegate< void(IRscReadEnumerator< VariableBrowseResult > &)> |
Public Types inherited from Arp::Base::Rsc::Commons::IRscService | |
| using | Ptr = std::shared_ptr< IRscService > |
| The shared_ptr type of IRscService. | |
Public Member Functions | |
| IVariableBrowseService (void)=default | |
| Constructs an IVariableBrowseService instance. | |
| virtual void | GetComponentNames (GetComponentNamesResultDelegate resultDelegate)=0 |
| Returns an enumerator over component names that provide variables More... | |
| virtual void | GetRoots (const RscString< 512 > &componentName, GetRootsResultDelegate resultDelegate)=0 |
| Returns an enumerator over the root nodes of the given component More... | |
| virtual void | GetChildren (const VariableBrowseHandle &browseHandle, GetChildrenResultDelegate resultDelegate)=0 |
| Gets an enumerator over the children of the referenced parent. More... | |
| virtual VariableQueryResult | GetVariable (const RscString< 512 > &variableName)=0 |
| Gets information about a specified variable More... | |
Public Member Functions inherited from Arp::Base::Rsc::Commons::IRscService | |
| IRscService (void)=default | |
| The default constructor. | |
| IRscService (const IRscService &arg)=delete | |
| The deleted copy constructor. More... | |
| IRscService (IRscService &&arg) noexcept=default | |
| The default move constructor. More... | |
| IRscService & | operator= (const IRscService &arg)=delete |
| The deleted assignment operator. More... | |
| IRscService & | operator= (IRscService &&arg) noexcept=default |
| The default move-assignment operator. More... | |
| virtual | ~IRscService (void)=default |
| Destructs this instance and frees all resources. | |
Static Public Member Functions | |
| static IRscServiceProxyFactory & | GetProxyFactory (void) |
Static Public Member Functions inherited from Arp::Base::Rsc::Commons::IRscService | |
| static IRscServiceProxyFactory & | GetProxyFactory (void) |
| Returns a reference to service proxy factory to create a proxy instance of this service. More... | |
This service enables browsing and querying of meta data about variables.
This service always operates on the foreground domain. This services is defined in library Arp.Plc.Meta.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
Consider the following common rule when using RSC services that provide arrays or enumerators as return values or out arguments: It is always required to completely read all items from these resulting lists or enumerators.
|
pure virtual |
Gets an enumerator over the children of the referenced parent.
| browseHandle | Reference to the parent node |
|
pure virtual |
Returns an enumerator over component names that provide variables
|
pure virtual |
Returns an enumerator over the root nodes of the given component
| componentName | Name of the component |
|
pure virtual |
Gets information about a specified variable
| variableName | Fully qualified name of the variable |