|
eLynx SDK
v3.3.0 C++ image processing API reference |
PluginFile is a handle to a IPluginPackage. More...
#include <PluginFile.h>
Public Member Functions | |
| PluginFile () | |
| default constructor, constructs a invalid handle. | |
| PluginFile (const char *iprFilename) | |
| constructs from filename. | |
| ~PluginFile () | |
| unloads the library if this is the last PluginFile to the loaded library. | |
| bool | Load (const char *iprFilename) |
| loads the library. | |
| void | Unload () |
| unloads the library and sets invalid. | |
| bool | IsValid () const |
| returns true if the PluginFile is valid, false otherwise. | |
| const char * | GetFilename () const |
| get the loaded module filename. | |
| const IPluginPackage * | GetPackage () const |
| return the reference on IPluginPackage of the PluginFile | |
Protected Attributes | |
| const IPluginPackage * | _prPackage |
| ModuleId | _moduleId |
| char | _filename [elxPATH_MAX] |
PluginFile is a handle to a IPluginPackage.
Simplifies the task of loading and unloading plugin libraries. A IPluginPackage PluginFile MUST remain in existence as long as any plugins created by it exist.