|
EMANE
1.0.1
|
Provides methods for constructing event generators and a manager to contain and control them as a group. More...
#include <eventgeneratorbuilder.h>
Public Member Functions | |
| EventGeneratorBuilder () | |
| ~EventGeneratorBuilder () | |
| std::unique_ptr< EventGeneratorManager > | buildEventGeneratorManager (const uuid_t &uuid, EventGenerators &generators, const ConfigurationUpdateRequest &request) |
| std::unique_ptr< EventGenerator > | buildEventGenerator (const std::string &sLibraryFile, const ConfigurationUpdateRequest &request, bool bSkipConfigure=false) |
Provides methods for constructing event generators and a manager to contain and control them as a group.
Definition at line 56 of file eventgeneratorbuilder.h.
| EMANE::Application::EventGeneratorBuilder::EventGeneratorBuilder | ( | ) |
Creates an EventGeneratorBuilder instance
Definition at line 47 of file eventgeneratorbuilder.cc.
| EMANE::Application::EventGeneratorBuilder::~EventGeneratorBuilder | ( | ) |
Destroys an instance
Definition at line 49 of file eventgeneratorbuilder.cc.
| std::unique_ptr< EMANE::EventGenerator > EMANE::Application::EventGeneratorBuilder::buildEventGenerator | ( | const std::string & | sLibraryFile, |
| const ConfigurationUpdateRequest & | request, | ||
| bool | bSkipConfigure = false |
||
| ) |
Builds an EventGenerator
| sLibraryFile | Name of the dll containing the generator |
| request | configuration update |
| bSkipConfigure | Flag indicating whether to skip calling Component::configure |
| Utils::FactoryException | when a DLL load error occurs. |
| InitializeException | when an error occurs during initialization. |
| ConfigureException | when an error occurs during configure. |
Definition at line 83 of file eventgeneratorbuilder.cc.
| std::unique_ptr< EMANE::Application::EventGeneratorManager > EMANE::Application::EventGeneratorBuilder::buildEventGeneratorManager | ( | const uuid_t & | uuid, |
| EventGenerators & | generators, | ||
| const ConfigurationUpdateRequest & | request | ||
| ) |
Builds an EventGeneratorManager
| uuid | Instance UUID |
| generators | the generators to manage |
| request | configuration update |
| InitializeException | when an error occurs during initialization. |
| BuildException | when an error occurs building an NEM from the specified layers. |
| ConfigureException | when an error occurs during configure. |
Definition at line 52 of file eventgeneratorbuilder.cc.