Noise and Interference (thus Ni) event. More...
Public Member Functions | |
NiChange (double power, Ptr< Event > event) | |
Create a NiChange at the given time and the amount of NI change. More... | |
~NiChange () | |
void | AddPower (double power) |
Add a given amount of power. More... | |
Ptr< Event > | GetEvent () const |
Return the event causes the corresponding NI change. More... | |
double | GetPower () const |
Return the power. More... | |
Private Attributes | |
Ptr< Event > | m_event |
event More... | |
double | m_power |
power in watts More... | |
Noise and Interference (thus Ni) event.
Definition at line 353 of file interference-helper.h.
Create a NiChange at the given time and the amount of NI change.
power | the power in watts |
event | causes this NI change |
Definition at line 142 of file interference-helper.cc.
ns3::InterferenceHelper::NiChange::~NiChange | ( | ) |
Definition at line 148 of file interference-helper.cc.
void ns3::InterferenceHelper::NiChange::AddPower | ( | double | power | ) |
Add a given amount of power.
power | the power to be added to the existing value in watts |
Definition at line 160 of file interference-helper.cc.
Return the event causes the corresponding NI change.
Definition at line 166 of file interference-helper.cc.
double ns3::InterferenceHelper::NiChange::GetPower | ( | ) | const |
event
Definition at line 385 of file interference-helper.h.
|
private |
power in watts
Definition at line 384 of file interference-helper.h.