OLD | NEW |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. | 3 * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 25 matching lines...) Expand all Loading... |
36 public: | 36 public: |
37 RvBatteryModelHelper (); | 37 RvBatteryModelHelper (); |
38 ~RvBatteryModelHelper (); | 38 ~RvBatteryModelHelper (); |
39 | 39 |
40 void Set (std::string name, const AttributeValue &v); | 40 void Set (std::string name, const AttributeValue &v); |
41 | 41 |
42 private: | 42 private: |
43 virtual Ptr<EnergySource> DoInstall (Ptr<Node> node) const; | 43 virtual Ptr<EnergySource> DoInstall (Ptr<Node> node) const; |
44 | 44 |
45 private: | 45 private: |
46 ObjectFactory m_rvBatteryModel; | 46 ObjectFactory m_rvBatteryModel; ///< the rv battery model |
47 | 47 |
48 }; | 48 }; |
49 | 49 |
50 } // namespace ns3 | 50 } // namespace ns3 |
51 | 51 |
52 #endif /* RV_BATTERY_MODEL_HELPER_H */ | 52 #endif /* RV_BATTERY_MODEL_HELPER_H */ |
OLD | NEW |