Public Member Functions

ns3::WifiRadioEnergyModelHelper Class Reference

Assign WifiRadioEnergyModel to wifi devices. More...

#include <wifi-radio-energy-model-helper.h>

Inheritance diagram for ns3::WifiRadioEnergyModelHelper:
Inheritance graph
[legend]
Collaboration diagram for ns3::WifiRadioEnergyModelHelper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 WifiRadioEnergyModelHelper ()
 ~WifiRadioEnergyModelHelper ()
void Set (std::string name, const AttributeValue &v)
void SetDepletionCallback (WifiRadioEnergyModel::WifiRadioEnergyDepletionCallback callback)

Detailed Description

Assign WifiRadioEnergyModel to wifi devices.

This installer installs WifiRadioEnergyModel for only WifiNetDevice objects.


Constructor & Destructor Documentation

ns3::WifiRadioEnergyModelHelper::WifiRadioEnergyModelHelper (  ) 

Construct a helper which is used to add a radio energy model to a node

ns3::WifiRadioEnergyModelHelper::~WifiRadioEnergyModelHelper (  ) 

Destroy a RadioEnergy Helper


Member Function Documentation

void ns3::WifiRadioEnergyModelHelper::Set ( std::string  name,
const AttributeValue v 
) [virtual]
Parameters:
name the name of the attribute to set
v the value of the attribute

Sets an attribute of the underlying PHY object.

Implements ns3::DeviceEnergyModelHelper.

void ns3::WifiRadioEnergyModelHelper::SetDepletionCallback ( WifiRadioEnergyModel::WifiRadioEnergyDepletionCallback  callback  ) 
Parameters:
callback Callback function for energy depletion handling.

Sets the callback to be invoked when energy is depleted.


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