LEFT | RIGHT |
(no file at all) | |
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) 2008,2009 IITP RAS | 3 * Copyright (c) 2008,2009 IITP RAS |
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 21 matching lines...) Expand all Loading... |
32 * You need to create a MeshPointDevice and attach all | 32 * You need to create a MeshPointDevice and attach all |
33 * interfaces to it, than call Install method | 33 * interfaces to it, than call Install method |
34 */ | 34 */ |
35 class MeshStack : public Object | 35 class MeshStack : public Object |
36 { | 36 { |
37 public: | 37 public: |
38 /// \brief Register this type. | 38 /// \brief Register this type. |
39 /// \return The TypeId. | 39 /// \return The TypeId. |
40 static TypeId GetTypeId (void); | 40 static TypeId GetTypeId (void); |
41 ·· | 41 ·· |
42 ///\brief Installs mesh stack. needed by helper only | 42 /** |
| 43 * \brief Installs mesh stack. needed by helper only |
| 44 * \param mp the mesh pint device |
| 45 * \returns true if successful |
| 46 */ |
43 virtual bool InstallStack (Ptr<MeshPointDevice> mp) = 0; | 47 virtual bool InstallStack (Ptr<MeshPointDevice> mp) = 0; |
44 /// Report statistics of a given mesh point | 48 /** |
45 virtual void Report (const Ptr<MeshPointDevice> mp, std::ostream&) = 0; | 49 * Report statistics of a given mesh point |
46 /// Reset statistics of a given mesh point | 50 * \param mp the mesh point device |
| 51 * \param os the output stream |
| 52 */ |
| 53 virtual void Report (const Ptr<MeshPointDevice> mp, std::ostream& os) = 0; |
| 54 /** |
| 55 * Reset statistics of a given mesh point |
| 56 * \param mp the mesh point device |
| 57 */ |
47 virtual void ResetStats (const Ptr<MeshPointDevice> mp) = 0; | 58 virtual void ResetStats (const Ptr<MeshPointDevice> mp) = 0; |
48 }; | 59 }; |
49 } | 60 } |
50 #endif | 61 #endif |
51 | 62 |
LEFT | RIGHT |