EMANE
1.2.1
|
Radio Model template used to create variant TDMA models. More...
#include <radiomodel.h>
Static Public Attributes | |
static const ControlMessages | empty |
static const ControlMessages | empty |
static const ControlMessages | empty |
Protected Attributes | |
NEMId | id_ |
PlatformServiceProvider * | pPlatformService_ |
RadioServiceProvider * | pRadioService_ |
Radio Model template used to create variant TDMA models.
SCHEDULER | Scheduler specialization used for radio model variant |
QUEUEMANAGER | QueueManager specialization used for radio model variant |
Definition at line 56 of file radiomodel.h.
|
inline |
Creates an instance
id | NEM id |
pPlatformServiceProvider | Platform Service reference |
pRadioServiceProvider | Radio Service reference |
Definition at line 66 of file radiomodel.h.
|
inline |
Destroys an instance
Definition at line 79 of file radiomodel.h.
|
overridevirtualinherited |
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.
Definition at line 65 of file basemodel.cc.
|
overridevirtualinherited |
|
inlineinherited |
Gets the application wide unique BuildId of this object.
Definition at line 34 of file buildable.inl.
|
inlineinherited |
|
overridevirtualinherited |
Gets queue status.
Implements EMANE::Models::TDMA::SchedulerUser.
Definition at line 158 of file basemodel.cc.
|
overridevirtualinherited |
Initialize the component.
InitializeException | thrown when an error is encountered during initialization |
Implements EMANE::Component.
Definition at line 57 of file basemodel.cc.
|
overridevirtualinherited |
Notifies when a schedule change occurs
frequencies | Set of frequencies used in the schedule |
u64BandwidthHz | Transceiver bandwidth |
slotDuration | Slot duration |
slotOverhead | Slot overhead |
Implements EMANE::Models::TDMA::SchedulerUser.
Definition at line 137 of file basemodel.cc.
|
overridevirtualinherited |
Hook to run any post start functionaililty. Called after all the components have been started.
Reimplemented from EMANE::Component.
Definition at line 78 of file basemodel.cc.
|
overridevirtualinherited |
Process dynamic running-state configuration updates
update | Configuration update |
Reimplemented from EMANE::RunningStateMutable.
Definition at line 132 of file basemodel.cc.
|
overridevirtualinherited |
Process downstream control message
msgs | Reference to the ControlMessages |
Implements EMANE::DownstreamTransport.
Definition at line 112 of file basemodel.cc.
|
overridevirtualinherited |
Process downstream packet
pkt | Reference to the DownstreamPacket to process |
msgs | optional reference to the ControlMessages |
Implements EMANE::DownstreamTransport.
Definition at line 118 of file basemodel.cc.
|
overridevirtualinherited |
Process an event.
eventId | event identifier corresponding to the serialized event |
serialization | opaque event object data |
Reimplemented from EMANE::EventServiceUser.
Definition at line 125 of file basemodel.cc.
|
overridevirtualinherited |
Processes Scheduler control messages for communication with the downsteam NEM layer
msgs | Control messages |
Implements EMANE::Models::TDMA::SchedulerUser.
Definition at line 152 of file basemodel.cc.
|
overridevirtualinherited |
Processes a Scheduler packet for transmission over-the-air
pkt | Packet to transmit |
Implements EMANE::Models::TDMA::SchedulerUser.
Definition at line 146 of file basemodel.cc.
|
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.
|
overridevirtualinherited |
Process upstream control message
msgs | reference to the ControlMessages |
Implements EMANE::UpstreamTransport.
Definition at line 99 of file basemodel.cc.
|
overridevirtualinherited |
Process an upstream packet
hdr | MAC message header |
pkt | Upstream packet reference |
msgs | Optional control messages |
Implements EMANE::MACLayerImplementor.
Definition at line 105 of file basemodel.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.
|
overridevirtualinherited |
Start the component.
StartException | thrown when an error is encountered during start. |
Implements EMANE::Component.
Definition at line 71 of file basemodel.cc.
|
overridevirtualinherited |
Stop the component.
StopException | thrown when an error is encountered during stop |
Implements EMANE::Component.
Definition at line 85 of file basemodel.cc.
|
staticinherited |
Definition at line 97 of file scheduleruser.h.
|
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.