EMANE  1.2.1
EMANE::PlatformServiceProvider Class Referenceabstract

The PlatformServiceProvider interface provides access to emulator services. More...

#include <platformserviceprovider.h>

Inheritance diagram for EMANE::PlatformServiceProvider:
EMANE::NEMPlatformService EMANE::PlatformService

Public Member Functions

virtual ~PlatformServiceProvider ()
 
virtual TimerServiceProvidertimerService ()=0
 
virtual LogServiceProviderlogService ()=0
 
virtual EventServiceProvidereventService ()=0
 
virtual FileDescriptorServiceProviderfileDescriptorService ()=0
 

Protected Member Functions

 PlatformServiceProvider ()=default
 

Detailed Description

The PlatformServiceProvider interface provides access to emulator services.

Note
Service references are not valid until Component::initialize(). Very bad things will happen if services are accessed prior the initialization transition.

Definition at line 55 of file platformserviceprovider.h.

Constructor & Destructor Documentation

◆ ~PlatformServiceProvider()

virtual EMANE::PlatformServiceProvider::~PlatformServiceProvider ( )
inlinevirtual

Destroys an instance

Definition at line 61 of file platformserviceprovider.h.

◆ PlatformServiceProvider()

EMANE::PlatformServiceProvider::PlatformServiceProvider ( )
protecteddefault

Member Function Documentation

◆ eventService()

virtual EventServiceProvider& EMANE::PlatformServiceProvider::eventService ( )
pure virtual

Gets a reference to the EventServiceProvider

Returns
EventServiceProvider reference

Implemented in EMANE::PlatformService, and EMANE::NEMPlatformService.

◆ fileDescriptorService()

virtual FileDescriptorServiceProvider& EMANE::PlatformServiceProvider::fileDescriptorService ( )
pure virtual

◆ logService()

virtual LogServiceProvider& EMANE::PlatformServiceProvider::logService ( )
pure virtual

Gets a reference to the LogServiceProvider

Returns
LogServiceProvider reference

Implemented in EMANE::PlatformService, and EMANE::NEMPlatformService.

◆ timerService()

virtual TimerServiceProvider& EMANE::PlatformServiceProvider::timerService ( )
pure virtual

Gets a reference to the TimerServiceProvider

Returns
TimerServiceProvider reference

Implemented in EMANE::PlatformService, and EMANE::NEMPlatformService.


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