EMANE  1.2.1
EMANE::Application::EventGeneratorManagerImpl Class Reference

Deployment event server. More...

#include <eventgeneratormanagerimpl.h>

Inheritance diagram for EMANE::Application::EventGeneratorManagerImpl:
EMANE::Application::EventGeneratorManager EMANE::Component EMANE::Buildable

Public Member Functions

 EventGeneratorManagerImpl (const uuid_t &uuid)
 
 ~EventGeneratorManagerImpl ()
 
void initialize (Registrar &registrar) override
 
void configure (const ConfigurationUpdate &update) override
 
void start () override
 
void postStart () override
 
void stop () override
 
void destroy () override throw ()
 
void add (std::unique_ptr< EventGenerator > &pEventGenerator) override
 
const uuid_t & getUUID () const
 
BuildId getBuildId () const
 
void setBuildId (BuildId bid)
 

Protected Attributes

uuid_t uuid_
 

Detailed Description

Deployment event server.

Realization of the EventGeneratorManager interface. Allows for the registration and state management of event generators and event receivers.

Definition at line 56 of file eventgeneratormanagerimpl.h.

Constructor & Destructor Documentation

◆ EventGeneratorManagerImpl()

EMANE::Application::EventGeneratorManagerImpl::EventGeneratorManagerImpl ( const uuid_t &  uuid)

Definition at line 42 of file eventgeneratormanagerimpl.cc.

◆ ~EventGeneratorManagerImpl()

EMANE::Application::EventGeneratorManagerImpl::~EventGeneratorManagerImpl ( )

Definition at line 45 of file eventgeneratormanagerimpl.cc.

Member Function Documentation

◆ add()

void EMANE::Application::EventGeneratorManagerImpl::add ( std::unique_ptr< EventGenerator > &  pEventGenerator)
overridevirtual

Add an event generator

Parameters
pEventGeneratorEventGenerator to add

Implements EMANE::Application::EventGeneratorManager.

Definition at line 47 of file eventgeneratormanagerimpl.cc.

◆ configure()

void EMANE::Application::EventGeneratorManagerImpl::configure ( const ConfigurationUpdate update)
overridevirtual

Configure the component.

Parameters
updateConfiguration update values
Exceptions
ConfigureExceptionthrown when a unexpected configuration item is encountered or there is a problem with the specified item value

Implements EMANE::Component.

Definition at line 73 of file eventgeneratormanagerimpl.cc.

◆ destroy()

void EMANE::Application::EventGeneratorManagerImpl::destroy ( )
throw (
)
overridevirtual

Destroy the component.

Implements EMANE::Component.

Definition at line 152 of file eventgeneratormanagerimpl.cc.

◆ getBuildId()

EMANE::BuildId EMANE::Buildable::getBuildId ( ) const
inlineinherited

Gets the application wide unique BuildId of this object.

Returns
the BuildId

Definition at line 34 of file buildable.inl.

◆ getUUID()

const uuid_t& EMANE::Application::EventGeneratorManager::getUUID ( ) const
inlineinherited

Gets the UUID

Returns
UUID

Definition at line 77 of file eventgeneratormanager.h.

◆ initialize()

void EMANE::Application::EventGeneratorManagerImpl::initialize ( Registrar registrar)
overridevirtual

Initialize the component.

Exceptions
InitializeExceptionthrown when an error is encountered during initialization

Implements EMANE::Component.

Definition at line 52 of file eventgeneratormanagerimpl.cc.

◆ postStart()

void EMANE::Application::EventGeneratorManagerImpl::postStart ( )
overridevirtual

Hook to run any post start functionaililty. Called after all the components have been started.

Reimplemented from EMANE::Component.

Definition at line 138 of file eventgeneratormanagerimpl.cc.

◆ setBuildId()

void EMANE::Buildable::setBuildId ( BuildId  bid)
inlineinherited

Sets the application wide unique BuildId of this object. Builders assign a BuildId to objects at instantiation.

Parameters
bidthe BuildId
Note
: This method is for internal framework use only.

Definition at line 40 of file buildable.inl.

◆ start()

void EMANE::Application::EventGeneratorManagerImpl::start ( )
overridevirtual

Start the component.

Exceptions
StartExceptionthrown when an error is encountered during start.

Implements EMANE::Component.

Definition at line 118 of file eventgeneratormanagerimpl.cc.

◆ stop()

void EMANE::Application::EventGeneratorManagerImpl::stop ( )
overridevirtual

Stop the component.

Exceptions
StopExceptionthrown when an error is encountered during stop

Implements EMANE::Component.

Definition at line 145 of file eventgeneratormanagerimpl.cc.

Member Data Documentation

◆ uuid_

uuid_t EMANE::Application::EventGeneratorManager::uuid_
protectedinherited

Definition at line 93 of file eventgeneratormanager.h.


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