EMANE  1.2.1
EMANE::Application::TransportManager Class Referenceabstract

Manages all instantiated transports. More...

#include <transportmanager.h>

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

Public Member Functions

virtual ~TransportManager ()
 
virtual void add (std::unique_ptr< TransportAdapter > &pTransportAdapter)=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

 TransportManager (const uuid_t &uuid)
 

Protected Attributes

uuid_t uuid_
 

Detailed Description

Manages all instantiated transports.

Virtual base class for transport containers.

Definition at line 56 of file transportmanager.h.

Constructor & Destructor Documentation

◆ ~TransportManager()

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

Destroys an instance

Definition at line 63 of file transportmanager.h.

◆ TransportManager()

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

Creates an TransportManager instance

Parameters
uuidInstance UUID

Definition at line 88 of file transportmanager.h.

Member Function Documentation

◆ add()

virtual void EMANE::Application::TransportManager::add ( std::unique_ptr< TransportAdapter > &  pTransportAdapter)
pure virtual

Add a Transport Adapter

Parameters
pTransportAdapterto add

Implemented in EMANE::Application::TransportManagerImpl.

◆ 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::TransportManager::getUUID ( ) const
inline

Gets the UUID

Returns
UUID

Definition at line 77 of file transportmanager.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::TransportManager::uuid_
protected

Definition at line 93 of file transportmanager.h.


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