EMANE  1.2.1
EMANE::Generators::EEL::LoaderPluginFactory Class Reference

Factory for creating plugins . The factory manages the DLL allowing for the creation of plugins of the same type. More...

#include <eelloaderpluginfactory.h>

Public Member Functions

 LoaderPluginFactory ()
 
 ~LoaderPluginFactory ()
 
void construct (const std::string &sLibraryName)
 
LoaderPlugincreatePlugin () const
 
void destoryPlugin (LoaderPlugin *pLoader) const
 

Detailed Description

Factory for creating plugins . The factory manages the DLL allowing for the creation of plugins of the same type.

Note
DLLs must stay open in order to use their contents

Definition at line 57 of file eelloaderpluginfactory.h.

Constructor & Destructor Documentation

◆ LoaderPluginFactory()

EMANE::Generators::EEL::LoaderPluginFactory::LoaderPluginFactory ( )

Constructor

Definition at line 39 of file eelloaderpluginfactory.cc.

◆ ~LoaderPluginFactory()

EMANE::Generators::EEL::LoaderPluginFactory::~LoaderPluginFactory ( )

Definition at line 78 of file eelloaderpluginfactory.cc.

Member Function Documentation

◆ construct()

void EMANE::Generators::EEL::LoaderPluginFactory::construct ( const std::string &  sLibraryName)

Construct a specific laoder factory

Parameters
sLibraryNameFilename of DLL
Exceptions
Utils::FactoryException

Definition at line 44 of file eelloaderpluginfactory.cc.

◆ createPlugin()

EMANE::Generators::EEL::LoaderPlugin * EMANE::Generators::EEL::LoaderPluginFactory::createPlugin ( ) const

Create a loader

Returns
laoder reference to newly created loader

Definition at line 83 of file eelloaderpluginfactory.cc.

◆ destoryPlugin()

void EMANE::Generators::EEL::LoaderPluginFactory::destoryPlugin ( LoaderPlugin pLoader) const

Destory a plugin

Parameters
pLoaderPlugin to destory

Definition at line 88 of file eelloaderpluginfactory.cc.


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