A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::InterferenceHelper::NiChange Class Reference

Noise and Interference (thus Ni) event. More...

+ Collaboration diagram for ns3::InterferenceHelper::NiChange:

Public Member Functions

 NiChange (Time time, double delta)
 Create a NiChange at the given time and the amount of NI change. More...
double GetDelta (void) const
 Return the power. More...
Time GetTime (void) const
 Return the event time. More...
bool operator< (const NiChange &o) const
 Compare the event time of two NiChange objects (a < o). More...

Private Attributes

double m_delta
Time m_time

Detailed Description

Noise and Interference (thus Ni) event.

Definition at line 208 of file interference-helper.h.

Constructor & Destructor Documentation

ns3::InterferenceHelper::NiChange::NiChange ( Time  time,
double  delta 

Create a NiChange at the given time and the amount of NI change.

timetime of the event
deltathe power

Definition at line 99 of file interference-helper.cc.

Member Function Documentation

double ns3::InterferenceHelper::NiChange::GetDelta ( void  ) const

Return the power.

the power

Definition at line 110 of file interference-helper.cc.

Time ns3::InterferenceHelper::NiChange::GetTime ( void  ) const

Return the event time.

the event time.

Definition at line 105 of file interference-helper.cc.

Referenced by ns3::InterferenceHelper::AddNiChangeEvent().

+ Here is the caller graph for this function:

bool ns3::InterferenceHelper::NiChange::operator< ( const NiChange o) const

Compare the event time of two NiChange objects (a < o).

true if a < o.time, false otherwise

Definition at line 115 of file interference-helper.cc.

References m_time.

Member Data Documentation

double ns3::InterferenceHelper::NiChange::m_delta

Definition at line 239 of file interference-helper.h.

Time ns3::InterferenceHelper::NiChange::m_time

Definition at line 238 of file interference-helper.h.

Referenced by operator<().

The documentation for this class was generated from the following files: