EMANE
1.2.1
|
Implementation of the rf pipe mac layer. More...
#include <maclayer.h>
Static Public Attributes | |
static const ControlMessages | empty |
static const ControlMessages | empty |
Protected Attributes | |
NEMId | id_ |
PlatformServiceProvider * | pPlatformService_ |
RadioServiceProvider * | pRadioService_ |
Implementation of the rf pipe mac layer.
Definition at line 67 of file models/mac/rfpipe/maclayer.h.
EMANE::Models::RFPipe::MACLayer::MACLayer | ( | NEMId | id, |
PlatformServiceProvider * | pPlatformServiceProvider, | ||
RadioServiceProvider * | pRadioServiceProvider | ||
) |
constructor
id | this NEM id. |
pPlatformServiceProvider | reference to the platform service provider |
pRadioServiceProvider | reference to the radio service provider |
Definition at line 79 of file models/mac/rfpipe/maclayer.cc.
EMANE::Models::RFPipe::MACLayer::~MACLayer | ( | ) |
destructor
Definition at line 101 of file models/mac/rfpipe/maclayer.cc.
|
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 |
[logservice-infolog-snippet]
[logservice-infolog-snippet]
Implements EMANE::Component.
Definition at line 226 of file models/mac/rfpipe/maclayer.cc.
|
overridevirtual |
Destroy the component.
Implements EMANE::Component.
Definition at line 605 of file models/mac/rfpipe/maclayer.cc.
|
inlineinherited |
Gets the application wide unique BuildId of this object.
Definition at line 34 of file buildable.inl.
|
inlineinherited |
|
overridevirtual |
Initialize the component.
InitializeException | thrown when an error is encountered during initialization |
[configurationregistrar-registernumeric-snippet]
[configurationregistrar-registernumeric-snippet]
[configurationregistrar-registernonnumeric-snippet]
[configurationregistrar-registernonnumeric-snippet]
Implements EMANE::Component.
Definition at line 105 of file models/mac/rfpipe/maclayer.cc.
|
overridevirtual |
Hook to run any post start functionaililty. Called after all the components have been started.
[timerservice-scheduletimedevent-1-snippet]
[timerservice-scheduletimedevent-1-snippet]
Reimplemented from EMANE::Component.
Definition at line 413 of file models/mac/rfpipe/maclayer.cc.
|
overridevirtual |
Process dynamic running-state configuration updates
update | Configuration update |
Reimplemented from EMANE::RunningStateMutable.
Definition at line 476 of file models/mac/rfpipe/maclayer.cc.
|
overridevirtual |
Process downstream control message
msgs | Reference to the ControlMessages |
[serializedcontrolmessage-flowcontrol-snibbet]
[serializedcontrolmessage-flowcontrol-snibbet]
Implements EMANE::DownstreamTransport.
Definition at line 622 of file models/mac/rfpipe/maclayer.cc.
|
overridevirtual |
Process downstream packet
pkt | Reference to the DownstreamPacket to process |
msgs | optional reference to the ControlMessages |
[timerservice-scheduletimedevent-2-snippet]
[timerservice-scheduletimedevent-2-snippet]
Implements EMANE::DownstreamTransport.
Definition at line 1000 of file models/mac/rfpipe/maclayer.cc.
|
inlinevirtualinherited |
Process an event.
eventId | event identifier corresponding to the serialized event |
serialization | opaque event object data |
Reimplemented in EMANE::Models::IEEE80211ABG::MACLayer, EMANE::NEMStatefulLayer, EMANE::Models::TDMA::BaseModel::Implementation, EMANE::Models::Bypass::MACLayer, EMANE::FrameworkPHY, EMANE::Models::TDMA::BaseModel, EMANE::Models::Bypass::PHYLayer, EMANE::NEMQueuedLayer, EMANE::Models::CommEffect::Shim, EMANE::Models::TDMA::EventScheduler, and EMANE::Agents::GPSDLocation::Agent.
Definition at line 58 of file eventserviceuser.h.
|
inlinevirtualinherited |
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 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.
|
overridevirtual |
Process upstream control message
msgs | reference to the ControlMessages |
Implements EMANE::UpstreamTransport.
Definition at line 618 of file models/mac/rfpipe/maclayer.cc.
|
overridevirtual |
Process an upstream packet
hdr | MAC message header |
pkt | Upstream packet reference |
msgs | Optional control messages |
[logservice-loggerfnvargs-snippet]
[logservice-loggerfnvargs-snippet]
[startofreception-calculation-snibbet]
[startofreception-calculation-snibbet]
[spectrumservice-request-snibbet]
[spectrumservice-request-snibbet]
Implements EMANE::MACLayerImplementor.
Definition at line 704 of file models/mac/rfpipe/maclayer.cc.
|
inlineinherited |
Send downstream control message
msgs | reference to the ControlMessages |
Definition at line 44 of file upstreamtransport.inl.
|
inlineinherited |
Sends a downstream packet
hdr | MAC message header |
pkt | Downstream packet reference |
msgs | Optional control messages |
Definition at line 37 of file maclayerimpl.inl.
|
inlineinherited |
Send upstream control message
msgs | Reference to the ControlMessages |
Definition at line 44 of file downstreamtransport.inl.
|
inlineinherited |
Send upstream packet
pkt | Reference to the UpstreamPacket to process |
msgs | optional reference to the ControlMessages |
Definition at line 37 of file downstreamtransport.inl.
|
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.
|
inlinevirtualinherited |
Set the downstream transport.
pDownstreamTransport | Pointer to the downstream transport of this upstream transport. |
Reimplemented in EMANE::NEMStatefulLayer, EMANE::PHYLayer, EMANE::MACLayer, EMANE::ShimLayer, and EMANE::TransportLayer.
Definition at line 82 of file upstreamtransport.h.
|
inlinevirtualinherited |
Set the upstream transport.
pUpstreamTransport | Pointer to the upstream transport of this downstream transport. |
Reimplemented in EMANE::NEMStatefulLayer, EMANE::MACLayer, EMANE::ShimLayer, EMANE::PHYLayer, and EMANE::TransportLayer.
Definition at line 79 of file downstreamtransport.h.
|
overridevirtual |
Start the component.
StartException | thrown when an error is encountered during start. |
Implements EMANE::Component.
Definition at line 392 of file models/mac/rfpipe/maclayer.cc.
|
overridevirtual |
Stop the component.
StopException | thrown when an error is encountered during stop |
[timerservice-canceltimedevent-snippet]
[timerservice-canceltimedevent-snippet]
Implements EMANE::Component.
Definition at line 579 of file models/mac/rfpipe/maclayer.cc.
|
staticinherited |
Definition at line 102 of file downstreamtransport.h.
|
staticinherited |
Definition at line 106 of file upstreamtransport.h.
|
protectedinherited |
Definition at line 81 of file nemlayer.h.
|
protectedinherited |
Definition at line 64 of file platformserviceuser.h.
|
protectedinherited |
Definition at line 57 of file radioserviceuser.h.