Index: src/energy/model/energy-harvester.h |
=================================================================== |
--- a/src/energy/model/energy-harvester.h |
+++ b/src/energy/model/energy-harvester.h |
@@ -32,7 +32,7 @@ |
#include "ns3/energy-source-container.h" |
namespace ns3 { |
- |
+ |
class EnergySource; |
/** |
@@ -51,6 +51,10 @@ |
class EnergyHarvester : public Object |
{ |
public: |
+ /** |
+ * \brief Get the type ID. |
+ * \return the object TypeId |
+ */ |
static TypeId GetTypeId (void); |
EnergyHarvester (); |
@@ -105,6 +109,8 @@ |
virtual void DoDispose (void); |
/** |
+ * \returns amount of power currently provided by the harvester |
+ * |
* This method is called by the GetPower method and it needs to be implemented by the |
* subclasses of the energy harvester. It returns the actual amount of power that is |
* currently provided by the energy harvester. |
@@ -129,9 +135,8 @@ |
Ptr<EnergySource> m_energySource; |
protected: |
+}; |
-}; |
- |
} // namespace ns3 |
#endif /* defined(ENERGY_HARVESTER_H) */ |