|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjist.swans.radio.RadioInfo
public class RadioInfo
Radio properties.
Nested Class Summary | |
---|---|
static class |
RadioInfo.RadioInfoShared
Timeless information possibly shared among numerous Radio instances (only to save simulation memory. |
static class |
RadioInfo.RadioInfoUnique
Timeless information unique to a single Radio instance. |
Field Summary | |
---|---|
protected RadioInfo.RadioInfoShared |
shared
Timeless information possibly shared among numerous Radio instances (only to save simulation memory). |
protected RadioInfo.RadioInfoUnique |
unique
Timeless information unique to this Radio instance. |
Constructor Summary | |
---|---|
RadioInfo(RadioInfo.RadioInfoUnique unique,
RadioInfo.RadioInfoShared shared)
Create radio information object with shared and unique properties. |
Method Summary | |
---|---|
static RadioInfo.RadioInfoShared |
createShared(double frequency,
int bandwidth,
double transmit,
double gain,
double sensitivity_mW,
double threshold_mW,
double temperature,
double thermalFactor,
double ambientNoise_mW)
Create shared radio parameters. |
RadioInfo.RadioInfoShared |
getShared()
Return shared radio properties. |
RadioInfo.RadioInfoUnique |
getUnique()
Return unique radio properties. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected RadioInfo.RadioInfoUnique unique
protected RadioInfo.RadioInfoShared shared
Constructor Detail |
---|
public RadioInfo(RadioInfo.RadioInfoUnique unique, RadioInfo.RadioInfoShared shared)
unique
- unique radio propertiesshared
- shared radio properties (shared only to save some memory)Method Detail |
---|
public RadioInfo.RadioInfoUnique getUnique()
public RadioInfo.RadioInfoShared getShared()
public java.lang.String toString()
toString
in class java.lang.Object
public static RadioInfo.RadioInfoShared createShared(double frequency, int bandwidth, double transmit, double gain, double sensitivity_mW, double threshold_mW, double temperature, double thermalFactor, double ambientNoise_mW)
frequency
- radio frequency (units: Hertz)bandwidth
- bandwidth (units: bits/second)transmit
- transmission power (units: dBm)gain
- antenna gain (units: dB)sensitivity_mW
- receive sensivity (units: mW)threshold_mW
- receive threshold (units: mW)temperature
- field temperature (units: degrees Kelvin)thermalFactor
- thermal noiseambientNoise_mW
- ambient noise (units: mW)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |