|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectavrora.sim.radio.freespace.FreeSpaceAir
Implementation of the free space radio propagation model
| Nested Class Summary | |
protected class |
FreeSpaceAir.RadioClock
An extended version of GlobalClock that implements a version of LocalMeet
that is appropriate for delivering radio packets. |
protected class |
FreeSpaceAir.RadioTicker
|
protected class |
FreeSpaceAir.RSSIWait
see SimpleAir |
| Field Summary | |
static int |
bitPeriod
|
static int |
bitPeriod2
|
static int |
bytePeriod
The amount of cycles it takes for one byte to be sent. |
static FreeSpaceAir |
freeSpaceAir
|
protected FreeSpaceAir.RadioClock |
radioClock
GlobalClock used by the air environment. |
protected java.util.HashSet |
radios
|
| Constructor Summary | |
FreeSpaceAir()
new free space air |
|
| Method Summary | |
void |
addRadio(Radio r)
add radio |
void |
removeRadio(Radio r)
remove radio |
int |
sampleRSSI(Radio r)
see simple air for more |
void |
transmit(Radio r,
Radio.RadioPacket f)
transmit packet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final FreeSpaceAir freeSpaceAir
protected final FreeSpaceAir.RadioClock radioClock
protected final java.util.HashSet radios
public static final int bytePeriod
public static final int bitPeriod
public static final int bitPeriod2
| Constructor Detail |
public FreeSpaceAir()
| Method Detail |
public void addRadio(Radio r)
addRadio in interface RadioAirRadioAir.addRadio(avrora.sim.radio.Radio)public void removeRadio(Radio r)
removeRadio in interface RadioAirRadioAir.removeRadio(avrora.sim.radio.Radio)
public void transmit(Radio r,
Radio.RadioPacket f)
transmit in interface RadioAirRadioAir.transmit(avrora.sim.radio.Radio, avrora.sim.radio.Radio.RadioPacket)public int sampleRSSI(Radio r)
sampleRSSI in interface RadioAirRadioAir.sampleRSSI(avrora.sim.radio.Radio)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||