EMANE  1.2.1
EMANE::PlatformServiceUser Class Reference

Platform service user interface that provides access to the platform services. More...

#include <platformserviceuser.h>

Inheritance diagram for EMANE::PlatformServiceUser:
EMANE::EventServiceUser EMANE::TimerServiceUser EMANE::EventAgent EMANE::EventGenerator EMANE::Models::TDMA::QueueManager EMANE::Models::TDMA::Scheduler EMANE::NEMLayer EMANE::Agents::GPSDLocation::Agent EMANE::Generators::EEL::Generator EMANE::Models::TDMA::BasicQueueManager EMANE::Models::TDMA::EventScheduler EMANE::MACLayerImplementor EMANE::NEMQueuedLayer EMANE::NEMStatefulLayer EMANE::PHYLayerImplementor EMANE::ShimLayerImplementor EMANE::Transport

Public Member Functions

virtual ~PlatformServiceUser ()
 
virtual void processEvent (const EventId &eventId, const Serialization &serialization)
 
virtual void processTimedEvent (TimerEventId eventId, const TimePoint &expireTime, const TimePoint &scheduleTime, const TimePoint &fireTime, const void *arg)
 

Protected Member Functions

 PlatformServiceUser (PlatformServiceProvider *p)
 

Protected Attributes

PlatformServiceProviderpPlatformService_
 

Detailed Description

Platform service user interface that provides access to the platform services.

Definition at line 49 of file platformserviceuser.h.

Constructor & Destructor Documentation

◆ ~PlatformServiceUser()

virtual EMANE::PlatformServiceUser::~PlatformServiceUser ( )
inlinevirtual

Detroys an instance

Definition at line 56 of file platformserviceuser.h.

◆ PlatformServiceUser()

EMANE::PlatformServiceUser::PlatformServiceUser ( PlatformServiceProvider p)
inlineprotected

Definition at line 60 of file platformserviceuser.h.

Member Function Documentation

◆ processEvent()

virtual void EMANE::EventServiceUser::processEvent ( const EventId eventId,
const Serialization serialization 
)
inlinevirtualinherited

◆ processTimedEvent()

virtual void EMANE::TimerServiceUser::processTimedEvent ( TimerEventId  eventId,
const TimePoint expireTime,
const TimePoint scheduleTime,
const TimePoint fireTime,
const void *  arg 
)
inlinevirtualinherited

Process a timed event

Parameters
eventIdIdentifier corresponding to the timer being processed
expireTimeThe time the timer was scheduled to expire
scheduleTimeThe Time the timer was scheduled
fireTimeTime time The time the timer actually fired
argOpaque timed event data
Note
All times are abosulte using CLOCK_REALTIME

Reimplemented in EMANE::NEMStatefulLayer, EMANE::Models::Bypass::PHYLayer, EMANE::NEMQueuedLayer, EMANE::Models::PHYAPITest::ShimLayer, EMANE::Models::CommEffect::Shim, EMANE::Agents::GPSDLocation::Agent, EMANE::TimerServiceProxy, and EMANE::NEMTimerServiceProxy.

Definition at line 62 of file timerserviceuser.h.

Member Data Documentation

◆ pPlatformService_

PlatformServiceProvider* EMANE::PlatformServiceUser::pPlatformService_
protected

Definition at line 64 of file platformserviceuser.h.


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