PLCnext API Documentation 25.0.2.69
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Arp::Plc::Commons::Esm::ProgramComponentBase Class Reference
Inheritance diagram for Arp::Plc::Commons::Esm::ProgramComponentBase:
Inheritance graph

Public Member Functions

 ProgramComponentBase (const char *libraryNamespace, ProgramProviderBase &programProvider)
 Constructs an ProgramComponentBase instance.
 
 ~ProgramComponentBase (void)=default
 Destructs this instance and frees all resources.
 
void Initialize (void)
 
void SetupConfig (void)
 
void ResetConfig (void)
 
IProgramProviderGetProgramProvider (bool useBackgroundDomain) override
 Returns the program provider of this component. More...
 
IDataInfoProviderGetDataInfoProvider (bool useBackgroundDomain) override
 Gets the IDataInfoProvider of this component. More...
 
IDataNavigator * GetDataNavigator (void) override
 Gets the specialized IDataNavigator of this component. More...
 
virtual IProgramProviderGetProgramProvider (bool useBackgroundDomain)=0
 Returns the program provider of this component. More...
 
virtual IDataInfoProviderGetDataInfoProvider (bool useBackgroundDomain)=0
 Gets the IDataInfoProvider of this component. More...
 
virtual IDataNavigator * GetDataNavigator (void)=0
 Gets the specialized IDataNavigator of this component. More...
 

Protected Member Functions

virtual void RegisterComponentPorts (void)
 
- Protected Member Functions inherited from Arp::Plc::Commons::Esm::IProgramComponent
 IProgramComponent (void)=default
 Constructs an IProgramComponent instance.
 
virtual ~IProgramComponent (void)=default
 Destructs this instance and frees all resouces.
 
- Protected Member Functions inherited from Arp::Plc::Commons::Meta::IMetaComponent
 IMetaComponent (void)=default
 Constructs an IMetaComponent instance.
 
virtual ~IMetaComponent (void)=default
 Destructs this instance and frees all resources.
 

Protected Attributes

DataInfoProvider dataInfoProvider
 

Additional Inherited Members

- Public Types inherited from Arp::Plc::Commons::Esm::IProgramComponent
typedef std::shared_ptr< IProgramComponentPtr
 Shared pointer type of IProgramComponent.
 
- Public Types inherited from Arp::Plc::Commons::Meta::IMetaComponent
using Ptr = std::shared_ptr< IMetaComponent >
 std::shared_ptr to IMetaComponent
 

Member Function Documentation

◆ GetDataInfoProvider()

IDataInfoProvider & Arp::Plc::Commons::Esm::ProgramComponentBase::GetDataInfoProvider ( bool  useBackgroundDomain)
overridevirtual

Gets the IDataInfoProvider of this component.

Parameters
useBackgroundDomaintrue if the provider of the background domain should be returned, otherwise false.
Returns
IDataInfoProvider of this component

Implements Arp::Plc::Commons::Meta::IMetaComponent.

◆ GetDataNavigator()

IDataNavigator * Arp::Plc::Commons::Esm::ProgramComponentBase::GetDataNavigator ( void  )
overridevirtual

Gets the specialized IDataNavigator of this component.

Returns
The data navigator of this component or nullptr if it's not provided.

This function is obsolete

Implements Arp::Plc::Commons::Meta::IMetaComponent.

◆ GetProgramProvider()

IProgramProvider & Arp::Plc::Commons::Esm::ProgramComponentBase::GetProgramProvider ( bool  useBackgroundDomain)
overridevirtual

Returns the program provider of this component.

Returns
The program provider of this component.

Implements Arp::Plc::Commons::Esm::IProgramComponent.


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