LEFT | RIGHT |
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) 2007 INRIA | 3 * Copyright (c) 2007 INRIA |
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 12 matching lines...) Expand all Loading... |
23 #include <string> | 23 #include <string> |
24 #include <stdint.h> | 24 #include <stdint.h> |
25 #include "ns3/ptr.h" | 25 #include "ns3/ptr.h" |
26 #include "ns3/object.h" | 26 #include "ns3/object.h" |
27 | 27 |
28 namespace ns3 { | 28 namespace ns3 { |
29 | 29 |
30 class ConstantVelocityMobilityModel; | 30 class ConstantVelocityMobilityModel; |
31 | 31 |
32 /** | 32 /** |
33 * \brief a topology object which can read our ns-2 movement files | 33 * \brief a topology object which can read ns-2 movement files. |
34 * generated by SUMO and TRANS. | |
35 */ | 34 */ |
36 class Ns2TransmobilityHelper | 35 class Ns2TransmobilityHelper |
37 { | 36 { |
38 public: | 37 public: |
39 /** | 38 /** |
40 * \param filename filename of file which contains the | 39 * \param filename filename of file which contains the |
41 * ns2 movement trace. | 40 * ns2 movement trace. |
42 */ | 41 */ |
43 Ns2TransmobilityHelper (std::string filename); | 42 Ns2TransmobilityHelper (std::string filename); |
44 | 43 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 T m_begin; | 102 T m_begin; |
104 T m_end; | 103 T m_end; |
105 }; | 104 }; |
106 ConfigNodesMovements (MyObjectStore (begin, end)); | 105 ConfigNodesMovements (MyObjectStore (begin, end)); |
107 } | 106 } |
108 | 107 |
109 | 108 |
110 } // namespace ns3 | 109 } // namespace ns3 |
111 | 110 |
112 #endif /* NS2_TRANSMOBILITY_FILE_TOPOLOGY_H */ | 111 #endif /* NS2_TRANSMOBILITY_FILE_TOPOLOGY_H */ |
LEFT | RIGHT |