Index: src/energy/model/energy-source.h |
=================================================================== |
--- a/src/energy/model/energy-source.h |
+++ b/src/energy/model/energy-source.h |
@@ -35,7 +35,7 @@ |
#include "ns3/energy-harvester.h" |
namespace ns3 { |
- |
+ |
/** |
* \defgroup energy Energy Models |
* |
@@ -75,12 +75,16 @@ |
* energy in different units (eg. kWh), a simple converter function should |
* suffice. |
*/ |
- |
+ |
class EnergyHarvester; |
- |
+ |
class EnergySource : public Object |
{ |
public: |
+ /** |
+ * \brief Get the type ID. |
+ * \return the object TypeId |
+ */ |
static TypeId GetTypeId (void); |
EnergySource (); |
virtual ~EnergySource (); |
@@ -168,7 +172,7 @@ |
* here. Called by EnergySourceContainer, which is aggregated to the node. |
*/ |
void DisposeDeviceModels (void); |
- |
+ |
/** |
* \param energyHarvesterPtr Pointer to energy harvester. |
* |
@@ -201,7 +205,7 @@ |
* sure device models are installed onto the corresponding node. |
*/ |
Ptr<Node> m_node; |
- |
+ |
/** |
* Vector of EnergyHarvester pointer connected to the same energy source. |
* This vector is used by the CalculateTotalCurrent method to determine the |