|
ns-3
|
Creates a BasicEnergySource object. More...
#include <basic-energy-source-helper.h>


Public Member Functions | |
| void | Set (std::string name, const AttributeValue &v) |
Public Member Functions inherited from ns3::EnergySourceHelper | |
| EnergySourceContainer | Install (Ptr< Node > node) const |
| EnergySourceContainer | Install (NodeContainer c) const |
| EnergySourceContainer | Install (std::string nodeName) const |
| EnergySourceContainer | InstallAll (void) const |
| This function installs an EnergySource on all nodes in simulation. | |
Creates a BasicEnergySource object.
|
virtual |
| name | Name of attribute to set. |
| v | Value of the attribute. |
Sets one of the attributes of underlying EnergySource.
Implements ns3::EnergySourceHelper.
References ns3::ObjectFactory::Set().