eLynx SDK v3.3.0
C++ image processing API reference
Public Member Functions | Protected Attributes

eLynx::PluginFile Class Reference

PluginFile is a handle to a IPluginPackage. More...

#include <PluginFile.h>

List of all members.

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 IPluginPackageGetPackage () const
 return the reference on IPluginPackage of the PluginFile

Protected Attributes

const IPluginPackage_prPackage
ModuleId _moduleId
char _filename [elxPATH_MAX]

Detailed Description

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.


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

Generated on Thu Dec 9 2010 by doxygen 1.7.2