EMANE  1.0.1
EMANE::EventGeneratorFactory Class Reference

Factory for creating EventGenerators. The factory manages the DLL allowing for the creation of multiple generators. More...

#include <eventgeneratorfactory.h>

Public Member Functions

 EventGeneratorFactory (const std::string &sLibraryName)
 
 ~EventGeneratorFactory ()
 
EventGeneratorcreateEventGenerator (PlatformServiceProvider *pPlatformService) const
 
void destoryEventGenerator (EventGenerator *pGen) const
 

Detailed Description

Factory for creating EventGenerators. The factory manages the DLL allowing for the creation of multiple generators.

Note
DLLs must stay open in order to use their contents

Definition at line 49 of file eventgeneratorfactory.h.

Constructor & Destructor Documentation

◆ EventGeneratorFactory()

EMANE::EventGeneratorFactory::EventGeneratorFactory ( const std::string &  sLibraryName)

Constructor

Parameters
sLibraryNameFilename of DLL
Exceptions
Utils::FactoryException

Definition at line 38 of file eventgeneratorfactory.cc.

◆ ~EventGeneratorFactory()

EMANE::EventGeneratorFactory::~EventGeneratorFactory ( )

Definition at line 64 of file eventgeneratorfactory.cc.

Member Function Documentation

◆ createEventGenerator()

EMANE::EventGenerator * EMANE::EventGeneratorFactory::createEventGenerator ( EMANE::PlatformServiceProvider pPlatformService) const

Create an EventGenerator

Returns
EventGenerator reference

Definition at line 69 of file eventgeneratorfactory.cc.

◆ destoryEventGenerator()

void EMANE::EventGeneratorFactory::destoryEventGenerator ( EventGenerator pGen) const

Destory an EventGenerator

Parameters
pGenReference to EventGenerator

Definition at line 74 of file eventgeneratorfactory.cc.


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