EMANE  1.2.1
EMANE::Application::NEMManager Class Referenceabstract

Contains and manages NEM instances. More...

#include <nemmanager.h>

Inheritance diagram for EMANE::Application::NEMManager:
EMANE::Component EMANE::Buildable EMANE::Application::NEMManagerImpl

Public Member Functions

virtual ~NEMManager ()
 
virtual void add (std::unique_ptr< NEM > &pNEM)=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

 NEMManager (const uuid_t &uuid)
 

Protected Attributes

uuid_t uuid_
 

Detailed Description

Contains and manages NEM instances.

Definition at line 54 of file nemmanager.h.

Constructor & Destructor Documentation

◆ ~NEMManager()

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

Destroys an instance

Definition at line 61 of file nemmanager.h.

◆ NEMManager()

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

Creates an NEMManager instance

Parameters
uuidInstance UUID

Definition at line 89 of file nemmanager.h.

Member Function Documentation

◆ add()

virtual void EMANE::Application::NEMManager::add ( std::unique_ptr< NEM > &  pNEM)
pure virtual

Add an NEM

Parameters
pNEMNEM reference
Exceptions
PlatformExceptionwhen an error occurs while adding and NEM to a platform

Implemented in EMANE::Application::NEMManagerImpl.

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

Gets the UUID

Returns
UUID

Definition at line 78 of file nemmanager.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::NEMManager::uuid_
protected

Definition at line 94 of file nemmanager.h.


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