EMANE  1.2.1
EMANE::Application::EventAgentManager Class Referenceabstract

Manage all event agents. More...

#include <eventagentmanager.h>

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

Public Member Functions

virtual ~EventAgentManager ()
 
virtual void add (std::unique_ptr< EventAgent > &pAgent)=0
 
const uuid_t & getUUID () const
 
virtual void initialize (Registrar &registrar)=0
 
virtual void configure (const ConfigurationUpdate &update)=0
 
virtual void start ()=0
 
virtual void postStart ()
 
virtual void stop ()=0
 
virtual void destroy ()=0 throw ()
 
BuildId getBuildId () const
 
void setBuildId (BuildId bid)
 

Protected Member Functions

 EventAgentManager (const uuid_t &uuid)
 

Protected Attributes

uuid_t uuid_
 

Detailed Description

Manage all event agents.

Definition at line 53 of file eventagentmanager.h.

Constructor & Destructor Documentation

◆ ~EventAgentManager()

virtual EMANE::Application::EventAgentManager::~EventAgentManager ( )
inlinevirtual

Destroys an instance

Definition at line 60 of file eventagentmanager.h.

◆ EventAgentManager()

EMANE::Application::EventAgentManager::EventAgentManager ( const uuid_t &  uuid)
inlineprotected

Creates an EventGeneratorManager instance

Parameters
uuidInstance UUID

Definition at line 85 of file eventagentmanager.h.

Member Function Documentation

◆ add()

virtual void EMANE::Application::EventAgentManager::add ( std::unique_ptr< EventAgent > &  pAgent)
pure virtual

Add an event agent

Parameters
pAgentEventAgent to add

Implemented in EMANE::Application::EventAgentManagerImpl.

◆ configure()

◆ destroy()

◆ 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
inline

Gets the UUID

Returns
UUID

Definition at line 74 of file eventagentmanager.h.

◆ initialize()

◆ postStart()

◆ 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()

◆ stop()

Member Data Documentation

◆ uuid_

uuid_t EMANE::Application::EventAgentManager::uuid_
protected

Definition at line 90 of file eventagentmanager.h.


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