This class extends the basic radio model. More...
#include <RadioUWBIR.h>
Inherits Radio.

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 RadioUWBIR * | createNewUWBIRRadio (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 |
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.
1.7.1