Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Friends

RadioUWBIR Class Reference
[IEEE 802.15.4A - Classes that implement the IEEE 802.15.4A UWB PHY.phyLayer - physical layer modules]

This class extends the basic radio model. More...

#include <RadioUWBIR.h>

Inherits Radio.

Collaboration diagram for RadioUWBIR:
Collaboration graph
[legend]

List of all members.

Public Types

enum  UWBIRRadioStates { SYNC = Radio::NUM_RADIO_STATES, UWBIR_NUM_RADIO_STATES }

Public Member Functions

virtual simtime_t switchTo (int newState, simtime_t now)
 This switchTo method only accepts three states to switch to: reception, transmission and sleep.
virtual simtime_t reallySwitchTo (int newState, simtime_t now)

Static Public Member Functions

static RadioUWBIRcreateNewUWBIRRadio (int initialState, bool recordStats, double minAtt=1.0, double maxAtt=0.0)

Protected Member Functions

 RadioUWBIR (int numRadioStates, bool recordStats, int initialState, double minAtt=1.0, double maxAtt=0.0)
virtual double mapStateToAtt (int state)
 maps RadioState to attenuation, the Radios receiving characteristic

Private Member Functions

virtual void startReceivingFrame (simtime_t now)
 Called by the decider through the phy layer to announce that the radio has locked on a frame and is attempting reception.
virtual void finishReceivingFrame (simtime_t now)
 Called by the decider through the phy layer to announce that the radio has finished receiving a frame and is attempting to synchronize on incoming frames.

Friends

class PhyLayerUWBIR

Detailed Description

This class extends the basic radio model.

It adds a SYNC state before reception. The decider tells the uwb phy layer when it locks on a frame, and the uwb phy layer then sets the uwb radio state into RX mode. This is done through a private method so that the MAC can not change these states. This is why this class is friend with PhyLayerUWBIR.

Definition at line 30 of file RadioUWBIR.h.


The documentation for this class was generated from the following file: