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 University of Washington | 3 * Copyright (c) 2008 University of Washington |
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 15 matching lines...) Expand all Loading... |
26 #include "synchronizer.h" | 26 #include "synchronizer.h" |
27 #include "event-impl.h" | 27 #include "event-impl.h" |
28 | 28 |
29 #include "ptr.h" | 29 #include "ptr.h" |
30 #include "assert.h" | 30 #include "assert.h" |
31 #include "log.h" | 31 #include "log.h" |
32 #include "system-mutex.h" | 32 #include "system-mutex.h" |
33 | 33 |
34 #include <list> | 34 #include <list> |
35 | 35 |
| 36 #include "ns3/ns3-module.h" |
| 37 #define NS3_MODULE NS3_CORE_MODULE |
| 38 #include "ns3/ns3-export.h" |
| 39 |
36 /** | 40 /** |
37 * \file | 41 * \file |
38 * \ingroup realtime | 42 * \ingroup realtime |
39 * ns3::RealTimeSimulatorImpl declaration. | 43 * ns3::RealTimeSimulatorImpl declaration. |
40 */ | 44 */ |
41 | 45 |
42 namespace ns3 { | 46 namespace ns3 { |
43 | 47 |
44 /** | 48 /** |
45 * \ingroup simulator | 49 * \ingroup simulator |
46 * \defgroup realtime Realtime Simulator | 50 * \defgroup realtime Realtime Simulator |
47 * | 51 * |
48 * Realtime simulator implementation. | 52 * Realtime simulator implementation. |
49 */ | 53 */ |
50 ·· | 54 ·· |
51 /** | 55 /** |
52 * \ingroup realtime | 56 * \ingroup realtime |
53 * | 57 * |
54 * Realtime version of SimulatorImpl. | 58 * Realtime version of SimulatorImpl. |
55 */ | 59 */ |
56 class RealtimeSimulatorImpl : public SimulatorImpl | 60 class NS3_EXPORT RealtimeSimulatorImpl : public SimulatorImpl |
57 { | 61 { |
58 public: | 62 public: |
59 /** | 63 /** |
60 * Get the registered TypeId for this class. | 64 * Get the registered TypeId for this class. |
61 * \returns The TypeId. | 65 * \returns The TypeId. |
62 */ | 66 */ |
63 static TypeId GetTypeId (void); | 67 static TypeId GetTypeId (void); |
64 | 68 |
65 /** | 69 /** |
66 * What to do when we can't maintain real time synchrony. | 70 * What to do when we can't maintain real time synchrony. |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 /** The maximum allowable drift from real-time in SYNC_HARD_LIMIT mode. */ | 220 /** The maximum allowable drift from real-time in SYNC_HARD_LIMIT mode. */ |
217 Time m_hardLimit; | 221 Time m_hardLimit; |
218 | 222 |
219 /** Main SystemThread. */ | 223 /** Main SystemThread. */ |
220 SystemThread::ThreadId m_main; | 224 SystemThread::ThreadId m_main; |
221 }; | 225 }; |
222 | 226 |
223 } // namespace ns3 | 227 } // namespace ns3 |
224 | 228 |
225 #endif /* REALTIME_SIMULATOR_IMPL_H */ | 229 #endif /* REALTIME_SIMULATOR_IMPL_H */ |
LEFT | RIGHT |