|
|
| 19 |
* Python is too slow at). |
19 |
* Python is too slow at). |
| 20 |
* |
20 |
* |
| 21 |
* Author: Gustavo Carneiro <gjc@inescporto.pt> |
21 |
* Author: Gustavo Carneiro <gjc@inescporto.pt> |
| 22 |
*/ |
22 |
*/ |
| 23 |
#ifndef NS3_PYVIZ_H |
23 |
#ifndef NS3_PYVIZ_H |
| 24 |
#define NS3_PYVIZ_H |
24 |
#define NS3_PYVIZ_H |
| 25 |
|
25 |
|
| 26 |
#include "ns3/nstime.h" |
26 |
#include "ns3/nstime.h" |
| 27 |
#include "ns3/event-id.h" |
27 |
#include "ns3/event-impl.h" |
| 28 |
#include "ns3/node.h" |
28 |
#include "ns3/node.h" |
| 29 |
#include "ns3/channel.h" |
29 |
#include "ns3/channel.h" |
| 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> |
|
|
| 215 |
void TraceNetDevTxLte (std::string context, Ptr<const Packet> packet, Mac48Address const &destination); |
215 |
void TraceNetDevTxLte (std::string context, Ptr<const Packet> packet, Mac48Address const &destination); |
| 216 |
void TraceNetDevRxLte (std::string context, Ptr<const Packet> packet, Mac48Address const &source); |
216 |
void TraceNetDevRxLte (std::string context, Ptr<const Packet> packet, Mac48Address const &source); |
| 217 |
|
217 |
|
| 218 |
inline NetDeviceStatistics & FindNetDeviceStatistics (int node, int interface); |
218 |
inline NetDeviceStatistics & FindNetDeviceStatistics (int node, int interface); |
| 219 |
|
219 |
|
| 220 |
void DoPause (std::string const &message); |
220 |
void DoPause (std::string const &message); |
| 221 |
|
221 |
|
| 222 |
bool m_stop; |
222 |
bool m_stop; |
| 223 |
EventId m_stopCallbackEvent; |
223 |
Ptr<EventImpl> m_stopEvent; |
| 224 |
void CallbackStopSimulation (); |
224 |
void CallbackStopSimulation (); |
| 225 |
}; |
225 |
}; |
| 226 |
|
226 |
|
| 227 |
|
227 |
|
| 228 |
} |
228 |
} |
| 229 |
|
229 |
|
| 230 |
#endif /* NS3_PYVIZ_H */ |
230 |
#endif /* NS3_PYVIZ_H */ |