Alexander Afanasyev | 7a696fb | 2012-03-01 17:17:22 -0800 | [diff] [blame] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 | |||||
3 | #include "ns3/core-module.h" | ||||
4 | #include "ns3/sync-helper.h" | ||||
5 | |||||
6 | using namespace ns3; | ||||
7 | |||||
8 | |||||
9 | int | ||||
10 | main (int argc, char *argv[]) | ||||
11 | { | ||||
12 | bool verbose = true; | ||||
13 | |||||
14 | CommandLine cmd; | ||||
15 | cmd.AddValue ("verbose", "Tell application to log if true", verbose); | ||||
16 | |||||
17 | cmd.Parse (argc,argv); | ||||
18 | |||||
19 | /* ... */ | ||||
20 | |||||
21 | Simulator::Run (); | ||||
22 | Simulator::Destroy (); | ||||
23 | return 0; | ||||
24 | } | ||||
25 | |||||
26 |