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 10 matching lines...) Expand all Loading... |
21 #ifndef SIMULATOR_IMPL_H | 21 #ifndef SIMULATOR_IMPL_H |
22 #define SIMULATOR_IMPL_H | 22 #define SIMULATOR_IMPL_H |
23 | 23 |
24 #include "event-impl.h" | 24 #include "event-impl.h" |
25 #include "event-id.h" | 25 #include "event-id.h" |
26 #include "nstime.h" | 26 #include "nstime.h" |
27 #include "object.h" | 27 #include "object.h" |
28 #include "object-factory.h" | 28 #include "object-factory.h" |
29 #include "ptr.h" | 29 #include "ptr.h" |
30 | 30 |
| 31 #include "ns3/ns3-module.h" |
| 32 #define NS3_MODULE NS3_CORE_MODULE |
| 33 #include "ns3/ns3-export.h" |
| 34 |
31 /** | 35 /** |
32 * \file | 36 * \file |
33 * \ingroup simulator | 37 * \ingroup simulator |
34 * ns3::SimulatorImpl declaration. | 38 * ns3::SimulatorImpl declaration. |
35 */ | 39 */ |
36 | 40 |
37 namespace ns3 { | 41 namespace ns3 { |
38 | 42 |
39 class Scheduler; | 43 class Scheduler; |
40 | 44 |
41 /** | 45 /** |
42 * \ingroup simulator | 46 * \ingroup simulator |
43 * | 47 * |
44 * The SimulatorImpl base class. | 48 * The SimulatorImpl base class. |
45 * | 49 * |
46 * \todo Define what the simulation or event context means. | 50 * \todo Define what the simulation or event context means. |
47 */ | 51 */ |
48 class SimulatorImpl : public Object | 52 class NS3_EXPORT SimulatorImpl : public Object |
49 { | 53 { |
50 public: | 54 public: |
51 ·· | 55 ·· |
52 /** | 56 /** |
53 * Get the registered TypeId for this class. | 57 * Get the registered TypeId for this class. |
54 * \return The object TypeId. | 58 * \return The object TypeId. |
55 */ | 59 */ |
56 static TypeId GetTypeId (void); | 60 static TypeId GetTypeId (void); |
57 | 61 |
58 /** \copydoc Simulator::Destroy */ | 62 /** \copydoc Simulator::Destroy */ |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 virtual void SetScheduler (ObjectFactory schedulerFactory) = 0; | 101 virtual void SetScheduler (ObjectFactory schedulerFactory) = 0; |
98 /** \copydoc Simulator::GetSystemId */ | 102 /** \copydoc Simulator::GetSystemId */ |
99 virtual uint32_t GetSystemId () const = 0;· | 103 virtual uint32_t GetSystemId () const = 0;· |
100 /** \copydoc Simulator::GetContext */ | 104 /** \copydoc Simulator::GetContext */ |
101 virtual uint32_t GetContext (void) const = 0; | 105 virtual uint32_t GetContext (void) const = 0; |
102 }; | 106 }; |
103 | 107 |
104 } // namespace ns3 | 108 } // namespace ns3 |
105 | 109 |
106 #endif /* SIMULATOR_IMPL_H */ | 110 #endif /* SIMULATOR_IMPL_H */ |
LEFT | RIGHT |