PLCnext API Documentation
22.6.0.43
|
Any Acf Library shall implement this interface. More...
#include <ILibrary.hpp>
Public Types | |
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... | |
Public Member Functions | |
ILibrary (void)=default | |
The default constructor. More... | |
virtual | ~ILibrary (void)=default |
The default destructor. More... | |
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... | |
Protected Types | |
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 implement this interface.
Any dynamic shared library which might be loaded by the Acf infrastructure must provide a library instance implementing this interface, which serves as entry point to the shared library code. /remarks>
|
protected |
This is the prototype of the (static) entry point or auxiliary operation of any library class.
Create the library singleton inside this operation and call it from exported entry point of any dynamic shared library MainEntry.
This is the prototype of the main entry point of any library which shall be loaded dynamically by the Acf.
Any Acf library must export a function called ArpDynamicLibraryMain
complying to this prototype, which is declared as extern "C"
to avoid name mangling. The appDomain
parameter shall be passed the the base class LibrarayBase.
typedef ILibrary* Arp::System::Acf::ILibrary::Ptr |
The pointer type of this interface.
|
default |
The default constructor.
|
virtualdefault |
The default destructor.
|
pure virtual |
Gets the SDK version of the SDK used to build the shared library.
Implemented in Arp::System::Acf::LibraryBase.
|
pure virtual |
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.
Implemented in Arp::System::Acf::LibraryBase.