#include <frameworkphy.h>
|
| FrameworkPHY (NEMId id, PlatformServiceProvider *pPlatformService, SpectrumMonitor *pSpectrumMonitor) |
|
| ~FrameworkPHY () |
|
void | initialize (Registrar ®istrar) override |
|
void | configure (const ConfigurationUpdate &update) override |
|
void | start () override |
|
void | stop () override |
|
void | destroy () override throw () |
|
void | processConfiguration (const ConfigurationUpdate &update) override |
|
void | processUpstreamPacket (const CommonPHYHeader &hdr, UpstreamPacket &pkt, const ControlMessages &msgs) override |
|
void | processUpstreamPacket_i (const TimePoint &now, const CommonPHYHeader &hdr, UpstreamPacket &pkt, const ControlMessages &msgs) |
|
void | processDownstreamControl (const ControlMessages &msgs) override |
|
void | processDownstreamPacket (DownstreamPacket &pkt, const ControlMessages &msgs) override |
|
void | processEvent (const EventId &eventId, const Serialization &serialization) override |
|
SpectrumMonitor & | getSpectrumMonitor () |
|
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) |
|
virtual void | processTimedEvent (TimerEventId eventId, const TimePoint &expireTime, const TimePoint &scheduleTime, const TimePoint &fireTime, const void *arg) |
|
BuildId | getBuildId () const |
|
void | setBuildId (BuildId bid) |
|
Definition at line 55 of file frameworkphy.h.
◆ FrameworkPHY()
◆ ~FrameworkPHY()
EMANE::FrameworkPHY::~FrameworkPHY |
( |
| ) |
|
◆ configure()
Configure the component.
- Parameters
-
update | Configuration update values |
- Exceptions
-
ConfigureException | thrown when a unexpected configuration item is encountered or there is a problem with the specified item value |
[configurationregistrar-processmultiplicity-snippet]
[configurationregistrar-processmultiplicity-snippet]
[configurationregistrar-processsingle-snippet]
[configurationregistrar-processsingle-snippet]
Implements EMANE::Component.
Definition at line 284 of file frameworkphy.cc.
◆ destroy()
void EMANE::FrameworkPHY::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.
◆ getSpectrumMonitor()
◆ initialize()
void EMANE::FrameworkPHY::initialize |
( |
Registrar & |
registrar | ) |
|
|
overridevirtual |
Initialize the component.
- Exceptions
-
[eventservice-registerevent-snippet]
[eventservice-registerevent-snippet]
Implements EMANE::Component.
Definition at line 123 of file frameworkphy.cc.
◆ 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::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.
◆ processConfiguration()
◆ processDownstreamControl()
void EMANE::FrameworkPHY::processDownstreamControl |
( |
const ControlMessages & |
msgs | ) |
|
|
overridevirtual |
Process downstream control message
- Parameters
-
msgs | Reference to the ControlMessages |
[eventservice-sendevent-snippet]
[eventservice-sendevent-snippet]
Implements EMANE::DownstreamTransport.
Definition at line 638 of file frameworkphy.cc.
◆ processDownstreamPacket()
◆ processEvent()
void EMANE::FrameworkPHY::processEvent |
( |
const EventId & |
eventId, |
|
|
const Serialization & |
serialization |
|
) |
| |
|
overridevirtual |
◆ processTimedEvent()
◆ 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 949 of file frameworkphy.cc.
◆ processUpstreamPacket_i()
[physicallayer-sendupstreampacket-snippet]
[physicallayer-sendupstreampacket-snippet]
Definition at line 956 of file frameworkphy.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::FrameworkPHY::start |
( |
| ) |
|
|
overridevirtual |
◆ stop()
void EMANE::FrameworkPHY::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: