PLCnext API Documentation
22.9.0.33
|
Any Acf Library shall derive from this base class. More...
#include <LibraryBase.hpp>
Public Member Functions | |
LibraryBase (AppDomain &appDomain, const Version &buildVersion) | |
Constructs an isntance of class LibraryBase. More... | |
virtual | ~LibraryBase (void)=default |
The default destructor. More... | |
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 SDK version of the SDK used to build the shared library. More... | |
![]() | |
ILibrary (void)=default | |
The default constructor. More... | |
virtual | ~ILibrary (void)=default |
The default destructor. More... | |
Protected Attributes | |
ComponentFactory | componentFactory |
This field is used to register library specific component factory methods. | |
Additional Inherited Members | |
![]() | |
typedef ILibrary * | Ptr |
The pointer type of this interface. More... | |
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... | |
![]() | |
typedef void(* | Main) (AppDomain &appDomain) |
This is the prototype of the (static) entry point or auxiliary operation of any library class. More... | |
Any Acf Library shall derive from this base class.
Any dynamic shared library which might be loaded by the Acf infrastructure should derive from this base class for easily provide the required functionality. /remarks>
Constructs an isntance of class LibraryBase.
appDomain | The actual AppDomain of the application loading this library. |
buildVersion | The current build version, this should always be set to ARP_VERSION_CURRENT. |
|
virtualdefault |
The default destructor.
|
inlineoverridevirtual |
Gets the SDK version of the SDK used to build the shared library.
Implements Arp::System::Acf::ILibrary.
|
inlineoverridevirtual |
Gets the component factory of this library to create instances of its provided components.
Any dynamic shared library has a component factory to create component instances dynmically configured by Acf configuration.
Implements Arp::System::Acf::ILibrary.