Implementation of the bypass PHY layer.
More...
#include <phylayer.h>
|
| | PHYLayer (NEMId id, PlatformServiceProvider *pPlatformService) |
| | constructor More...
|
| |
| | ~PHYLayer () |
| | destructor More...
|
| |
| void | initialize (Registrar ®istrar) override |
| |
| void | configure (const ConfigurationUpdate &update) override |
| |
| void | start () override |
| |
| void | stop () override |
| |
| void | destroy () override throw () |
| |
| void | processUpstreamPacket (const CommonPHYHeader &hdr, UpstreamPacket &pkt, const ControlMessages &msgs) override |
| |
| void | processDownstreamControl (const ControlMessages &msgs) override |
| |
| void | processDownstreamPacket (DownstreamPacket &pkt, const ControlMessages &msgs) override |
| |
| void | processEvent (const EventId &id, const Serialization &serialization) override |
| |
| void | processTimedEvent (TimerEventId eventId, const TimePoint &expireTime, const TimePoint &scheduleTime, const TimePoint &fireTime, const void *arg) override |
| |
| void | sendDownstreamPacket (const CommonPHYHeader &hdr, DownstreamPacket &pkt, const ControlMessages &msgs=DownstreamTransport::empty) |
| |
| NEMId | getNEMId () const |
| |
| virtual void | postStart () |
| |
| virtual void | setDownstreamTransport (DownstreamTransport *pDownstreamTransport) |
| |
| void | sendDownstreamControl (const ControlMessages &msgs) |
| |
| virtual void | setUpstreamTransport (UpstreamTransport *pUpstreamTransport) |
| |
| void | sendUpstreamPacket (UpstreamPacket &pkt, const ControlMessages &msgs=empty) |
| |
| void | sendUpstreamControl (const ControlMessages &msgs) |
| |
| BuildId | getBuildId () const |
| |
| void | setBuildId (BuildId bid) |
| |
| virtual void | processConfiguration (const ConfigurationUpdate &update) |
| |
Implementation of the bypass PHY layer.
Definition at line 53 of file models/phy/bypass/phylayer.h.
◆ PHYLayer()
◆ ~PHYLayer()
| EMANE::Models::Bypass::PHYLayer::~PHYLayer |
( |
| ) |
|
◆ configure()
◆ destroy()
| void EMANE::Models::Bypass::PHYLayer::destroy |
( |
| ) |
|
| throw | ( | |
| ) | | |
|
overridevirtual |
◆ getBuildId()
Gets the application wide unique BuildId of this object.
- Returns
- the BuildId
Definition at line 34 of file buildable.inl.
◆ getNEMId()
| NEMId EMANE::NEMLayer::getNEMId |
( |
| ) |
const |
|
inlineinherited |
Get the NEM identifier.
- Returns
- NEM identifier
Definition at line 72 of file nemlayer.h.
◆ initialize()
| void EMANE::Models::Bypass::PHYLayer::initialize |
( |
Registrar & |
registrar | ) |
|
|
overridevirtual |
◆ postStart()
| virtual void EMANE::Component::postStart |
( |
| ) |
|
|
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::NEMStatefulLayer, EMANE::NEMLayerStack, EMANE::Application::NEMImpl, EMANE::Models::TDMA::BaseModel::Implementation, EMANE::Transports::Virtual::VirtualTransport, EMANE::Models::TDMA::EventScheduler, EMANE::Models::TDMA::BaseModel, EMANE::Models::PHYAPITest::ShimLayer, EMANE::Application::EventAgentManagerImpl, EMANE::Application::EventGeneratorManagerImpl, EMANE::Application::NEMManagerImpl, 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.
◆ processConfiguration()
| virtual void EMANE::RunningStateMutable::processConfiguration |
( |
const ConfigurationUpdate & |
update | ) |
|
|
inlinevirtualinherited |
◆ processDownstreamControl()
| void EMANE::Models::Bypass::PHYLayer::processDownstreamControl |
( |
const ControlMessages & |
msgs | ) |
|
|
overridevirtual |
◆ processDownstreamPacket()
◆ processEvent()
| void EMANE::Models::Bypass::PHYLayer::processEvent |
( |
const EventId & |
eventId, |
|
|
const Serialization & |
serialization |
|
) |
| |
|
overridevirtual |
◆ processTimedEvent()
Process a timed event
- Parameters
-
| 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 |
- Note
- All times are abosulte using CLOCK_REALTIME
Reimplemented from EMANE::TimerServiceUser.
Definition at line 167 of file models/phy/bypass/phylayer.cc.
◆ processUpstreamPacket()
Process an upstream packet
- Parameters
-
| hdr | PHY message header |
| pkt | Upstream packet reference |
| msgs | Optional control messages |
- Note
- Control message ownership is transferred with this call. Control messages should not be accessed after this point.
Implements EMANE::PHYLayerImplementor.
Definition at line 84 of file models/phy/bypass/phylayer.cc.
◆ sendDownstreamControl()
| void EMANE::UpstreamTransport::sendDownstreamControl |
( |
const ControlMessages & |
msgs | ) |
|
|
inlineinherited |
Send downstream control message
- Parameters
-
| msgs | reference to the ControlMessages |
Definition at line 44 of file upstreamtransport.inl.
◆ sendDownstreamPacket()
Sends a downstream packet
- Parameters
-
| hdr | PHY message header |
| pkt | Downstream packet reference |
| msgs | Optional control messages |
- Note
- Control message ownership is transferred with this call. Control messages should not be accessed after this point.
Definition at line 35 of file phylayerimpl.inl.
◆ sendUpstreamControl()
| void EMANE::DownstreamTransport::sendUpstreamControl |
( |
const ControlMessages & |
msgs | ) |
|
|
inlineinherited |
Send upstream control message
- Parameters
-
| msgs | Reference to the ControlMessages |
Definition at line 44 of file downstreamtransport.inl.
◆ sendUpstreamPacket()
◆ setBuildId()
| void EMANE::Buildable::setBuildId |
( |
BuildId |
bid | ) |
|
|
inlineinherited |
Sets the application wide unique BuildId of this object. Builders assign a BuildId to objects at instantiation.
- Parameters
-
- Note
- : This method is for internal framework use only.
Definition at line 40 of file buildable.inl.
◆ setDownstreamTransport()
| virtual void EMANE::UpstreamTransport::setDownstreamTransport |
( |
DownstreamTransport * |
pDownstreamTransport | ) |
|
|
inlinevirtualinherited |
◆ setUpstreamTransport()
| virtual void EMANE::DownstreamTransport::setUpstreamTransport |
( |
UpstreamTransport * |
pUpstreamTransport | ) |
|
|
inlinevirtualinherited |
◆ start()
| void EMANE::Models::Bypass::PHYLayer::start |
( |
| ) |
|
|
overridevirtual |
◆ stop()
| void EMANE::Models::Bypass::PHYLayer::stop |
( |
| ) |
|
|
overridevirtual |
◆ empty [1/2]
◆ empty [2/2]
◆ id_
| NEMId EMANE::NEMLayer::id_ |
|
protectedinherited |
◆ pPlatformService_
The documentation for this class was generated from the following files: