EMANE
1.2.1
|
Agent translating location events to NMEA gpsd messages. More...
#include <agent.h>
Public Member Functions | |
Agent (NEMId nemId, PlatformServiceProvider *pPlatformService) | |
~Agent () | |
void | initialize (Registrar ®istrar) override |
void | configure (const ConfigurationUpdate &update) override |
void | start () override |
void | stop () override |
void | destroy () override throw () |
void | processEvent (const EventId &, const Serialization &) override |
void | processTimedEvent (TimerEventId eventId, const TimePoint &expireTime, const TimePoint &scheduleTime, const TimePoint &fireTime, const void *arg) override |
virtual void | postStart () |
BuildId | getBuildId () const |
void | setBuildId (BuildId bid) |
Protected Attributes | |
NEMId | id_ |
PlatformServiceProvider * | pPlatformService_ |
EMANE::Agents::GPSDLocation::Agent::Agent | ( | NEMId | nemId, |
PlatformServiceProvider * | pPlatformService | ||
) |
|
overridevirtual |
Configure the component.
update | Configuration update values |
ConfigureException | thrown when a unexpected configuration item is encountered or there is a problem with the specified item value |
Implements EMANE::Component.
|
overridevirtual |
|
inlineinherited |
Gets the application wide unique BuildId of this object.
Definition at line 34 of file buildable.inl.
|
overridevirtual |
Initialize the component.
InitializeException | thrown when an error is encountered during initialization |
Implements EMANE::Component.
|
inlinevirtualinherited |
Hook to run any post start functionaililty. Called after all the components have been started.
Reimplemented in EMANE::Models::IEEE80211ABG::MACLayer, EMANE::Models::RFPipe::MACLayer, EMANE::Application::NEMImpl, EMANE::NEMStatefulLayer, EMANE::NEMLayerStack, EMANE::Models::TDMA::BaseModel::Implementation, EMANE::Transports::Virtual::VirtualTransport, EMANE::Models::TDMA::EventScheduler, EMANE::Models::TDMA::BaseModel, EMANE::Application::NEMManagerImpl, EMANE::Models::PHYAPITest::ShimLayer, EMANE::Application::EventAgentManagerImpl, EMANE::Application::EventGeneratorManagerImpl, EMANE::ShimLayer, EMANE::Application::TransportAdapterImpl, EMANE::MACLayer, EMANE::PHYLayer, EMANE::TransportLayer, EMANE::Application::TransportManagerImpl, and EMANE::Models::TDMA::BasicQueueManager.
Definition at line 119 of file component.h.
|
overridevirtual |
Process an event.
eventId | event identifier corresponding to the serialized event |
serialization | opaque event object data |
Reimplemented from EMANE::EventServiceUser.
|
overridevirtual |
Process a timed event
eventId | Identifier corresponding to the timer being processed |
expireTime | The time the timer was scheduled to expire |
scheduleTime | The Time the timer was scheduled |
fireTime | Time time The time the timer actually fired |
arg | Opaque timed event data |
Reimplemented from EMANE::TimerServiceUser.
|
inlineinherited |
Sets the application wide unique BuildId of this object. Builders assign a BuildId to objects at instantiation.
bid | the BuildId |
Definition at line 40 of file buildable.inl.
|
overridevirtual |
Start the component.
StartException | thrown when an error is encountered during start. |
Implements EMANE::Component.
|
overridevirtual |
Stop the component.
StopException | thrown when an error is encountered during stop |
Implements EMANE::Component.
|
protectedinherited |
Definition at line 68 of file eventagent.h.
|
protectedinherited |
Definition at line 64 of file platformserviceuser.h.