PLCnext API Documentation 25.0.2.69
Public Member Functions | List of all members
Arp::System::Commons::Extensibility::SharedModuleLibraryLoader Class Reference

Public Member Functions

 SharedModuleLibraryLoader (const String &path, SharedLibraryMemoryLockOption sharedLibraryMemoryLockOption)
 Constructs an SharedModuleLibraryLoader instance.
 
 SharedModuleLibraryLoader (const SharedModuleLibraryLoader &arg)=delete
 Copy constructor.
 
 SharedModuleLibraryLoader (SharedModuleLibraryLoader &&arg)=default
 Move constructor.
 
SharedModuleLibraryLoaderoperator= (const SharedModuleLibraryLoader &arg)=delete
 Copy-assignment operator.
 
SharedModuleLibraryLoaderoperator= (SharedModuleLibraryLoader &&arg)=default
 Move-assignment operator.
 
 ~SharedModuleLibraryLoader (void)
 Destructs this instance and frees all resources.
 
const StringGetFullPath () const
 Returns the full path to the library file
 
String GetFileName () const
 Returns the file name of the library (without directory)
 
bool Exists () const
 Returns true if the library file exists.
 
bool IsLoaded () const
 Returns true if the library is loaded
 
void Load ()
 Loads the library
 
void Unload ()
 Unload the library
 
SharedLibraryGetSharedLibrary () const
 Retuns the shared library More...
 

Member Function Documentation

◆ GetSharedLibrary()

SharedLibrary & Arp::System::Commons::Extensibility::SharedModuleLibraryLoader::GetSharedLibrary ( ) const

Retuns the shared library

Throws an exception if the library is not loaded. Use IsLoaded to check that.


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