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. | |
~NiChange () | |
void | AddPower (double power) |
Add a given amount of power. | |
Ptr< Event > | GetEvent () const |
Return the event causes the corresponding NI change. | |
double | GetPower () const |
Return the power. | |
Private Attributes | |
Ptr< Event > | m_event |
event | |
double | m_power |
power in watts | |
Noise and Interference (thus Ni) event.
Definition at line 359 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 151 of file interference-helper.cc.
ns3::InterferenceHelper::NiChange::~NiChange | ( | ) |
Definition at line 157 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 169 of file interference-helper.cc.
Return the event causes the corresponding NI change.
Definition at line 175 of file interference-helper.cc.
double ns3::InterferenceHelper::NiChange::GetPower | ( | ) | const |
event
Definition at line 391 of file interference-helper.h.
|
private |
power in watts
Definition at line 390 of file interference-helper.h.