author | Tom Henderson <tomh@tomh.org> |
Thu, 05 Feb 2015 13:02:44 -0800 | |
changeset 11214 | 103f62fc7d58 |
parent 10998 | ee7974b999f0 |
child 11246 | 9a95c9e7c9b4 |
permissions | -rw-r--r-- |
10979 | 1 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 |
/* |
|
3 |
* Copyright (c) 2010 INRIA |
|
4 |
* |
|
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 |
|
7 |
* published by the Free Software Foundation; |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 |
* |
|
18 |
*/ |
|
19 |
||
6494 | 20 |
#include "simulator-impl.h" |
9134
7a750f032acd
Clean up function logging of core module.
Maja Grubišić <maja.grubisic@live.com>
parents:
7169
diff
changeset
|
21 |
#include "log.h" |
7a750f032acd
Clean up function logging of core module.
Maja Grubišić <maja.grubisic@live.com>
parents:
7169
diff
changeset
|
22 |
|
10968
2d29fee2b7b8
[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
9138
diff
changeset
|
23 |
namespace ns3 { |
6494 | 24 |
|
10968
2d29fee2b7b8
[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
9138
diff
changeset
|
25 |
NS_LOG_COMPONENT_DEFINE ("SimulatorImpl"); |
6494 | 26 |
|
10998
ee7974b999f0
Missing NS_OBJECT_ENSURE_REGISTERED
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
10979
diff
changeset
|
27 |
NS_OBJECT_ENSURE_REGISTERED (SimulatorImpl); |
ee7974b999f0
Missing NS_OBJECT_ENSURE_REGISTERED
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
10979
diff
changeset
|
28 |
|
6494 | 29 |
TypeId |
30 |
SimulatorImpl::GetTypeId (void) |
|
31 |
{ |
|
32 |
static TypeId tid = TypeId ("ns3::SimulatorImpl") |
|
33 |
.SetParent<Object> () |
|
7169
358f71a624d8
core coding style changes
Josh Pelkey <jpelkey@gatech.edu>
parents:
6821
diff
changeset
|
34 |
; |
6494 | 35 |
return tid; |
36 |
} |
|
37 |
||
38 |
} // namespace ns3 |