ns-3
ns3::WifiRadioEnergyModelHelper Class Reference

Assign WifiRadioEnergyModel to wifi devices. More...

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

Inheritance diagram for ns3::WifiRadioEnergyModelHelper:
Collaboration diagram for ns3::WifiRadioEnergyModelHelper:

List of all members.

Public Member Functions

 WifiRadioEnergyModelHelper ()
 ~WifiRadioEnergyModelHelper ()
void Set (std::string name, const AttributeValue &v)
void SetDepletionCallback (WifiRadioEnergyModel::WifiRadioEnergyDepletionCallback callback)
- Public Member Functions inherited from ns3::DeviceEnergyModelHelper
DeviceEnergyModelContainer Install (Ptr< NetDevice > device, Ptr< EnergySource > source) const
DeviceEnergyModelContainer Install (NetDeviceContainer deviceContainer, EnergySourceContainer sourceContainer) const

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

References ns3::ObjectFactory::SetTypeId().

ns3::WifiRadioEnergyModelHelper::~WifiRadioEnergyModelHelper ( )

Destroy a RadioEnergy Helper


Member Function Documentation

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

Sets an attribute of the underlying PHY object.

Implements ns3::DeviceEnergyModelHelper.

References ns3::ObjectFactory::Set().

void ns3::WifiRadioEnergyModelHelper::SetDepletionCallback ( WifiRadioEnergyModel::WifiRadioEnergyDepletionCallback  callback)
Parameters:
callbackCallback 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 files: