104 throw cRuntimeError(
"Unknown received signal part");
107 throw cRuntimeError(
"Unknown radio reception state");
126 throw cRuntimeError(
"Unknown transmitted signal part");
129 throw cRuntimeError(
"Unknown radio transmission state");
Definition: IRadioSignal.h:38
The radio medium is busy, a signal strong enough to receive is detected.
Definition: IRadio.h:161
virtual IRadioSignal::SignalPart getReceivedSignalPart() const =0
Returns the signal part of the ongoing reception that the receiver is currently receiving or -1 if no...
W receiverReceivingPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:47
The radio medium state is unknown, reception state is meaningless, signal detection is not possible...
Definition: IRadio.h:142
TransmissionState
This enumeration specifies the transmission state of the radio.
Definition: IRadio.h:167
W transmitterIdlePowerConsumption
Definition: StateBasedEpEnergyConsumer.h:51
ReceptionState
This enumeration specifies the reception state of the radio.
Definition: IRadio.h:136
W transmitterTransmittingHeaderPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:54
W receiverReceivingHeaderPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:49
W transmitterTransmittingPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:52
W offPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:42
The radio is not transmitting a signal on the radio medium.
Definition: IRadio.h:178
W transmitterTransmittingDataPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:55
W switchingPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:44
The radio is prepared for frame transmission, frame reception is not possible, power consumption is l...
Definition: IRadio.h:116
W sleepPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:43
compose< J, pow< s,-1 > > W
Definition: Units.h:770
The radio is sleeping, frame reception or transmission is not possible, power consumption is minimal...
Definition: IRadio.h:102
The radio medium is busy, a signal is detected but it is not strong enough to receive.
Definition: IRadio.h:155
RadioMode
This enumeration specifies the requested operational mode of the radio.
Definition: IRadio.h:91
virtual RadioMode getRadioMode() const =0
Returns the current radio mode, This is the same mode as the one emitted with the last radioModeChang...
W transmitterTransmittingPreamblePowerConsumption
Definition: StateBasedEpEnergyConsumer.h:53
The radio medium is busy, the radio is currently transmitting a signal.
Definition: IRadio.h:183
The radio medium is free, no signal is detected.
Definition: IRadio.h:148
Definition: IRadioSignal.h:39
Definition: IRadioSignal.h:41
The radio is prepared for frame reception, frame transmission is not possible, power consumption is l...
Definition: IRadio.h:109
IRadio * radio
Definition: StateBasedEpEnergyConsumer.h:58
Definition: IRadioSignal.h:42
virtual IRadioSignal::SignalPart getTransmittedSignalPart() const =0
Returns the signal part of the ongoing transmission that the transmitter is currently transmitting or...
virtual ReceptionState getReceptionState() const =0
Returns the current radio reception state.
The radio is prepared for simultaneous frame reception and transmission, power consumption is low whe...
Definition: IRadio.h:123
W receiverIdlePowerConsumption
Definition: StateBasedEpEnergyConsumer.h:45
Definition: IRadioSignal.h:40
The transmission state is undefined or meaningless.
Definition: IRadio.h:172
The radio is turned off, frame reception or transmission is not possible, power consumption is zero...
Definition: IRadio.h:96
W receiverReceivingDataPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:50
The radio is switching from one mode to another, frame reception or transmission is not possible...
Definition: IRadio.h:129
virtual TransmissionState getTransmissionState() const =0
Returns the current radio transmission state.
W receiverBusyPowerConsumption
Definition: StateBasedEpEnergyConsumer.h:46
W powerConsumption
Definition: StateBasedEpEnergyConsumer.h:62
W receiverReceivingPreamblePowerConsumption
Definition: StateBasedEpEnergyConsumer.h:48