EMANE  1.2.1
EMANE::Application::EventAgentManagerImpl Class Reference

Deployment event server. More...

#include <eventagentmanagerimpl.h>

Inheritance diagram for EMANE::Application::EventAgentManagerImpl:
EMANE::Application::EventAgentManager EMANE::Component EMANE::Buildable

Public Member Functions

 EventAgentManagerImpl (const uuid_t &uuid)
 
 ~EventAgentManagerImpl ()
 
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< EventAgent > &pEventAgent) 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 EventAgentManager interface. Allows for the registration and state management of event agents and event receivers.

Definition at line 56 of file eventagentmanagerimpl.h.

Constructor & Destructor Documentation

◆ EventAgentManagerImpl()

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

Definition at line 43 of file eventagentmanagerimpl.cc.

◆ ~EventAgentManagerImpl()

EMANE::Application::EventAgentManagerImpl::~EventAgentManagerImpl ( )

Definition at line 46 of file eventagentmanagerimpl.cc.

Member Function Documentation

◆ add()

void EMANE::Application::EventAgentManagerImpl::add ( std::unique_ptr< EventAgent > &  pAgent)
overridevirtual

Add an event agent

Parameters
pAgentEventAgent to add

Implements EMANE::Application::EventAgentManager.

Definition at line 48 of file eventagentmanagerimpl.cc.

◆ configure()

void EMANE::Application::EventAgentManagerImpl::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 eventagentmanagerimpl.cc.

◆ destroy()

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

Destroy the component.

Implements EMANE::Component.

Definition at line 151 of file eventagentmanagerimpl.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::EventAgentManager::getUUID ( ) const
inlineinherited

Gets the UUID

Returns
UUID

Definition at line 74 of file eventagentmanager.h.

◆ initialize()

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

Initialize the component.

Exceptions
InitializeExceptionthrown when an error is encountered during initialization

Implements EMANE::Component.

Definition at line 53 of file eventagentmanagerimpl.cc.

◆ postStart()

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

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

Reimplemented from EMANE::Component.

Definition at line 137 of file eventagentmanagerimpl.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::EventAgentManagerImpl::start ( )
overridevirtual

Start the component.

Exceptions
StartExceptionthrown when an error is encountered during start.

Implements EMANE::Component.

Definition at line 117 of file eventagentmanagerimpl.cc.

◆ stop()

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

Stop the component.

Exceptions
StopExceptionthrown when an error is encountered during stop

Implements EMANE::Component.

Definition at line 144 of file eventagentmanagerimpl.cc.

Member Data Documentation

◆ uuid_

uuid_t EMANE::Application::EventAgentManager::uuid_
protectedinherited

Definition at line 90 of file eventagentmanager.h.


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