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) 2005,2006 INRIA | 3 * Copyright (c) 2005,2006 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 13 matching lines...) Expand all Loading... |
24 #include "simulator-impl.h" | 24 #include "simulator-impl.h" |
25 #include "scheduler.h" | 25 #include "scheduler.h" |
26 #include "event-impl.h" | 26 #include "event-impl.h" |
27 #include "system-thread.h" | 27 #include "system-thread.h" |
28 #include "system-mutex.h" | 28 #include "system-mutex.h" |
29 | 29 |
30 #include "ptr.h" | 30 #include "ptr.h" |
31 | 31 |
32 #include <list> | 32 #include <list> |
33 | 33 |
| 34 #include "ns3/ns3-module.h" |
| 35 #define NS3_MODULE NS3_CORE_MODULE |
| 36 #include "ns3/ns3-export.h" |
| 37 |
34 /** | 38 /** |
35 * \file | 39 * \file |
36 * \ingroup simulator | 40 * \ingroup simulator |
37 * ns3::DefaultSimulatorImpl declaration. | 41 * ns3::DefaultSimulatorImpl declaration. |
38 */ | 42 */ |
39 | 43 |
40 namespace ns3 { | 44 namespace ns3 { |
41 | 45 |
42 /** | 46 /** |
43 * \ingroup simulator | 47 * \ingroup simulator |
44 * | 48 * |
45 * The default single process simulator implementation. | 49 * The default single process simulator implementation. |
46 */ | 50 */ |
47 class DefaultSimulatorImpl : public SimulatorImpl | 51 class NS3_EXPORT DefaultSimulatorImpl : public SimulatorImpl |
48 { | 52 { |
49 public: | 53 public: |
50 /** | 54 /** |
51 * Register this type. | 55 * Register this type. |
52 * \return The object TypeId. | 56 * \return The object TypeId. |
53 */ | 57 */ |
54 static TypeId GetTypeId (void); | 58 static TypeId GetTypeId (void); |
55 | 59 |
56 /** Constructor. */ | 60 /** Constructor. */ |
57 DefaultSimulatorImpl (); | 61 DefaultSimulatorImpl (); |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 */ | 134 */ |
131 int m_unscheduledEvents; | 135 int m_unscheduledEvents; |
132 | 136 |
133 /** Main execution thread. */ | 137 /** Main execution thread. */ |
134 SystemThread::ThreadId m_main; | 138 SystemThread::ThreadId m_main; |
135 }; | 139 }; |
136 | 140 |
137 } // namespace ns3 | 141 } // namespace ns3 |
138 | 142 |
139 #endif /* DEFAULT_SIMULATOR_IMPL_H */ | 143 #endif /* DEFAULT_SIMULATOR_IMPL_H */ |
LEFT | RIGHT |