EMANE  1.2.1
EMANE::Application::TransportManagerImpl Class Reference

Manages all instantiated transports. More...

#include <transportmanagerimpl.h>

Inheritance diagram for EMANE::Application::TransportManagerImpl:
EMANE::Application::TransportManager EMANE::Component EMANE::Buildable

Public Member Functions

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

Protected Attributes

uuid_t uuid_
 

Detailed Description

Manages all instantiated transports.

Definition at line 52 of file transportmanagerimpl.h.

Constructor & Destructor Documentation

◆ TransportManagerImpl()

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

Definition at line 39 of file transportmanagerimpl.cc.

◆ ~TransportManagerImpl()

EMANE::Application::TransportManagerImpl::~TransportManagerImpl ( )

Definition at line 42 of file transportmanagerimpl.cc.

Member Function Documentation

◆ add()

void EMANE::Application::TransportManagerImpl::add ( std::unique_ptr< TransportAdapter > &  pTransportAdapter)
overridevirtual

Add a Transport Adapter

Parameters
pTransportAdapterto add

Implements EMANE::Application::TransportManager.

Definition at line 85 of file transportmanagerimpl.cc.

◆ configure()

void EMANE::Application::TransportManagerImpl::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 47 of file transportmanagerimpl.cc.

◆ destroy()

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

Destroy the component.

Implements EMANE::Component.

Definition at line 76 of file transportmanagerimpl.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::TransportManager::getUUID ( ) const
inlineinherited

Gets the UUID

Returns
UUID

Definition at line 77 of file transportmanager.h.

◆ initialize()

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

Initialize the component.

Exceptions
InitializeExceptionthrown when an error is encountered during initialization

Implements EMANE::Component.

Definition at line 44 of file transportmanagerimpl.cc.

◆ postStart()

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

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

Reimplemented from EMANE::Component.

Definition at line 62 of file transportmanagerimpl.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::TransportManagerImpl::start ( )
overridevirtual

Start the component.

Exceptions
StartExceptionthrown when an error is encountered during start.

Implements EMANE::Component.

Definition at line 55 of file transportmanagerimpl.cc.

◆ stop()

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

Stop the component.

Exceptions
StopExceptionthrown when an error is encountered during stop

Implements EMANE::Component.

Definition at line 69 of file transportmanagerimpl.cc.

Member Data Documentation

◆ uuid_

uuid_t EMANE::Application::TransportManager::uuid_
protectedinherited

Definition at line 93 of file transportmanager.h.


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