|
PLCnext API Documentation 23.6.0.37
|
Base class for libraries providing meta data More...
#include <MetaLibraryBase.hpp>

Public Member Functions | |
| MetaLibraryBase (AppDomain &appDomain, const Version &buildVersion, TypeDomain &typeDomain) | |
| Constructs an MetaLibraryBase instance. More... | |
| MetaLibraryBase (const MetaLibraryBase &arg)=default | |
| Copy constructor. | |
| MetaLibraryBase & | operator= (const MetaLibraryBase &arg)=default |
| Assignment operator. | |
| ~MetaLibraryBase (void) override=default | |
| Destructs this instance and frees all resources. | |
| TypeDomain & | GetTypeDomain () |
| const char * | GetNamespace (void) override |
| Gets the namespace of this library. More... | |
| ITypeInfoProvider & | GetTypeInfoProvider (bool useBackgroundDomain) override |
| Gets the ITypeInfoProvider of this library. More... | |
| IChangeNavigator * | GetChangeNavigator (void) override |
| Gets the specialized IChangeNavigator of this component. More... | |
Public Member Functions inherited from Arp::System::Acf::LibraryBase | |
| LibraryBase (AppDomain &appDomain, const Version &buildVersion) | |
| Constructs an isntance of class LibraryBase. More... | |
| virtual | ~LibraryBase (void) |
| The default destructor. | |
| IComponentFactory & | GetComponentFactory (void) override |
| Gets the component factory of this library to create instances of its provided components. More... | |
| const Version & | GetBuildVersion (void) const override |
| Gets the build version of the SDK/Firmware which was used to build this library. More... | |
| template<class T > | |
| void | RegisterComponentType (void) |
This template operation registers the as template parameter passed component type, using the C++ typename and the static Create</> of the component type, which creates an instance of the component type. More... | |
| template<class T > | |
| void | RegisterComponentType (const String &typeName) |
This template operation registers the as template parameter passed component type, using the C++ typename and the static Create</> of the component type, which creates an instance of the component type. More... | |
Public Member Functions inherited from Arp::System::Acf::ILibrary | |
| ILibrary (void)=default | |
| The default constructor. | |
| virtual | ~ILibrary (void)=default |
| The default destructor. | |
| virtual IComponentFactory & | GetComponentFactory (void)=0 |
| Gets the component factory of this library to create instances of its provided components. More... | |
| virtual const Version & | GetBuildVersion (void) const =0 |
| Gets the SDK version of the SDK used to build the shared library. More... | |
| virtual const char * | GetNamespace (void)=0 |
| Gets the namespace of this library. More... | |
| virtual ITypeInfoProvider & | GetTypeInfoProvider (bool useBackgroundDomain)=0 |
| Gets the ITypeInfoProvider of this library. More... | |
| virtual IChangeNavigator * | GetChangeNavigator (void)=0 |
| Gets the specialized IChangeNavigator of this component. More... | |
Additional Inherited Members | |
Public Types inherited from Arp::System::Acf::ILibrary | |
| typedef ILibrary * | Ptr |
| The pointer type of this interface. | |
| typedef ILibrary &(* | MainEntry) (AppDomain &appDomain) |
| This is the prototype of the main entry point of any library which shall be loaded dynamically by the Acf. More... | |
Public Types inherited from Arp::Plc::Commons::Meta::IMetaLibrary | |
| using | Ptr = std::shared_ptr< IMetaLibrary > |
| std::shared_ptr to IMetaLibrary | |
Protected Types inherited from Arp::System::Acf::ILibrary | |
| typedef void(* | Main) (AppDomain &appDomain) |
| This is the prototype of the (static) entry point or auxiliary operation of any library class. More... | |
Protected Member Functions inherited from Arp::Plc::Commons::Meta::IMetaLibrary | |
| IMetaLibrary (void)=default | |
| Constructs an IMetaLibrary instance. | |
| virtual | ~IMetaLibrary (void)=default |
| Destructs this instance and frees all resources. | |
Protected Attributes inherited from Arp::System::Acf::LibraryBase | |
| ComponentFactory | componentFactory |
| This field is used to register library specific component factory methods. | |
Base class for libraries providing meta data
|
inline |
Constructs an MetaLibraryBase instance.
| appDomain | Reference to the current AppDomain |
| buildVersion | Version of this library |
| typeDomain | Refrence to this library's TypeDomain |
|
inlineoverridevirtual |
Gets the specialized IChangeNavigator of this component.
nullptr if it's not provided.Implements Arp::Plc::Commons::Meta::IMetaLibrary.
|
inlineoverridevirtual |
Gets the namespace of this library.
Implements Arp::Plc::Commons::Meta::IMetaLibrary.
|
inlineoverridevirtual |
Gets the ITypeInfoProvider of this library.
| useBackgroundDomain | true if the provider of the background domain should be returned, otherwise false. |
Implements Arp::Plc::Commons::Meta::IMetaLibrary.