A Discrete-Event Network Simulator
API
onion_routing_wsn-example.cc
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 
3 #include "ns3/core-module.h"
4 #include "ns3/onion_routing_wsn-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 (__FILE__);
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 
ns3
Definition: sensornode-helper.cc:26