Assign WifiRadioEnergyModel to wifi devices. More...
#include <wifi-radio-energy-model-helper.h>
Public Member Functions | |
WifiRadioEnergyModelHelper () | |
~WifiRadioEnergyModelHelper () | |
void | Set (std::string name, const AttributeValue &v) |
void | SetDepletionCallback (WifiRadioEnergyModel::WifiRadioEnergyDepletionCallback callback) |
Assign WifiRadioEnergyModel to wifi devices.
This installer installs WifiRadioEnergyModel for only WifiNetDevice objects.
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
void ns3::WifiRadioEnergyModelHelper::Set | ( | std::string | name, | |
const AttributeValue & | v | |||
) | [virtual] |
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 | ) |
callback | Callback function for energy depletion handling. |
Sets the callback to be invoked when energy is depleted.