author | Sébastien Deronne <sebastien.deronne@gmail.com> |
Sun, 06 Sep 2015 10:56:46 +0200 | |
changeset 11647 | 4c87d32ffb07 |
parent 10968 | 2d29fee2b7b8 |
permissions | -rw-r--r-- |
7064
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
1 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
2 |
/* |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
3 |
* This program is free software; you can redistribute it and/or modify |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
4 |
* it under the terms of the GNU General Public License version 2 as |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
5 |
* published by the Free Software Foundation; |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
6 |
* |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
7 |
* This program is distributed in the hope that it will be useful, |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
8 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
9 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
10 |
* GNU General Public License for more details. |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
11 |
* |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
12 |
* You should have received a copy of the GNU General Public License |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
13 |
* along with this program; if not, write to the Free Software |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
14 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
15 |
*/ |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
16 |
|
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
17 |
#include "ns3/core-module.h" |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
18 |
|
10968
2d29fee2b7b8
[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
10516
diff
changeset
|
19 |
using namespace ns3; |
7064
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
20 |
|
10968
2d29fee2b7b8
[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
10516
diff
changeset
|
21 |
NS_LOG_COMPONENT_DEFINE ("ScratchSimulator"); |
7064
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
22 |
|
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
23 |
int |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
24 |
main (int argc, char *argv[]) |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
25 |
{ |
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
26 |
NS_LOG_UNCOND ("Scratch Simulator"); |
10516
f70e78d94658
[Bug 1496] Finish the documentation.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
7378
diff
changeset
|
27 |
|
f70e78d94658
[Bug 1496] Finish the documentation.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
7378
diff
changeset
|
28 |
Simulator::Run (); |
f70e78d94658
[Bug 1496] Finish the documentation.
Peter D. Barnes, Jr. <barnes26@llnl.gov>
parents:
7378
diff
changeset
|
29 |
Simulator::Destroy (); |
7064
7b2e9458bff1
Bug 1088 - Code in scratch directory assumes all modules are enabled
Mitch Watrous <watrous@u.washington.edu>
parents:
diff
changeset
|
30 |
} |