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) 2008 INESC Porto | 3 * Copyright (c) 2008 INESC Porto |
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 19 matching lines...) Expand all Loading... |
30 #include "ns3/packet.h" | 30 #include "ns3/packet.h" |
31 #include "ns3/mac48-address.h" | 31 #include "ns3/mac48-address.h" |
32 #include "ns3/ipv4-header.h" | 32 #include "ns3/ipv4-header.h" |
33 #include "ns3/ipv4-l3-protocol.h" | 33 #include "ns3/ipv4-l3-protocol.h" |
34 | 34 |
35 #include <map> | 35 #include <map> |
36 #include <set> | 36 #include <set> |
37 | 37 |
38 namespace ns3 { | 38 namespace ns3 { |
39 | 39 |
| 40 /** |
| 41 * \brief helper class to be used by the visualizer |
| 42 * \internal |
| 43 * |
| 44 * This class is not meant to be used by simulations. It is only |
| 45 * meant to be used by the visualizer tool (PyViz). The only reason |
| 46 * it is public is because Python bindings for it are needed, |
| 47 * otherwise it should be considered private. |
| 48 **/ |
40 class PyViz | 49 class PyViz |
41 { | 50 { |
42 public: | 51 public: |
43 PyViz (); | 52 PyViz (); |
44 ~PyViz (); | 53 ~PyViz (); |
45 | 54 |
46 void RegisterDropTracePath (std::string const &tracePath); | 55 void RegisterDropTracePath (std::string const &tracePath); |
47 | 56 |
48 void RegisterCsmaLikeDevice (std::string const &deviceTypeName); | 57 void RegisterCsmaLikeDevice (std::string const &deviceTypeName); |
49 void RegisterWifiLikeDevice (std::string const &deviceTypeName); | 58 void RegisterWifiLikeDevice (std::string const &deviceTypeName); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 216 |
208 bool m_stop; | 217 bool m_stop; |
209 EventId m_stopCallbackEvent; | 218 EventId m_stopCallbackEvent; |
210 void CallbackStopSimulation (); | 219 void CallbackStopSimulation (); |
211 }; | 220 }; |
212 | 221 |
213 | 222 |
214 } | 223 } |
215 | 224 |
216 #endif /* NS3_PYVIZ_H */ | 225 #endif /* NS3_PYVIZ_H */ |
LEFT | RIGHT |