|
PLCnext API Documentation
21.9.0.40
|
Base class for components providing meta data More...
#include <MetaComponentBase.hpp>

Public Member Functions | |
| MetaComponentBase (const char *libraryNamespace) | |
| Constructs an MetaComponentBase instance More... | |
| ~MetaComponentBase () override=default | |
| Destructs this object More... | |
| void | SetupSettings (void) |
| Sets up the internal DataInfoProvider to enable providing meta data More... | |
| ARP_DEPRECATED ("Call MetaComponentBase::SetupSettings() in the component's SetupSettings() method instead.") void SetupConfig(void) | |
| SetupConfig More... | |
| ARP_DEPRECATED ("Call MetaComponentBase::Dispose() in the component's Dispose() method instead.") void ResetConfig(void) | |
| ResetConfig More... | |
| void | Dispose (void) |
| Resets the internal DataInfoProvider More... | |
| IDataInfoProvider & | GetDataInfoProvider (bool useBackgroundDomain) override |
| Gets the IDataInfoProvider of this component. More... | |
| IDataNavigator * | GetDataNavigator (void) override |
| Gets the specialized IDataNavigator of this component. More... | |
Protected Member Functions | |
| virtual void | RegisterComponentPorts (void)=0 |
| Registers the ports of this component with its DataInfoProvider More... | |
Protected Member Functions inherited from Arp::Plc::Commons::Meta::IMetaComponent | |
| IMetaComponent (void)=default | |
| Constructs an IMetaComponent instance. More... | |
| virtual | ~IMetaComponent (void)=default |
| Destructs this instance and frees all resources. More... | |
Protected Attributes | |
| DataInfoProvider | dataInfoProvider |
Additional Inherited Members | |
Public Types inherited from Arp::Plc::Commons::Meta::IMetaComponent | |
| typedef std::shared_ptr< IMetaComponent > | Ptr |
| std::shared_ptr to IMetaComponent More... | |
Base class for components providing meta data
Derive from this class as well as from ComponentBase. Call SetupSettings in ComponentBase::SetupSettings() and call Dispose in ComponentBase::Dispose(). These calls are neccessary to setup and dispose the included DataInfoProvider
| Arp::Plc::Commons::Meta::MetaComponentBase::MetaComponentBase | ( | const char * | libraryNamespace | ) |
Constructs an MetaComponentBase instance
| libraryNamespace | Namensraum der Bibliothek |
|
overridedefault |
Destructs this object
| Arp::Plc::Commons::Meta::MetaComponentBase::ARP_DEPRECATED | ( | "Call MetaComponentBase::SetupSettings() in the component's SetupSettings() method instead." | ) |
SetupConfig
Deprecated! Use SetupSettings.
| Arp::Plc::Commons::Meta::MetaComponentBase::ARP_DEPRECATED | ( | "Call MetaComponentBase::Dispose() in the component's Dispose() method instead." | ) |
ResetConfig
Deprecated! Use Dispose.
| void Arp::Plc::Commons::Meta::MetaComponentBase::Dispose | ( | void | ) |
Resets the internal DataInfoProvider
|
overridevirtual |
Gets the IDataInfoProvider of this component.
| useBackgroundDomain | true if the provider of the background domain should be returned, otherwise false. |
Implements Arp::Plc::Commons::Meta::IMetaComponent.
|
overridevirtual |
Gets the specialized IDataNavigator of this component.
nullptr if it's not provided.This function is obsolete
Implements Arp::Plc::Commons::Meta::IMetaComponent.
|
protectedpure virtual |
Registers the ports of this component with its DataInfoProvider
Implement this method to make the ports of this component available as variables using DataInfoProvider::AddRoot().
| void Arp::Plc::Commons::Meta::MetaComponentBase::SetupSettings | ( | void | ) |
Sets up the internal DataInfoProvider to enable providing meta data
1.8.13