Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(853)

Unified Diff: src/mobility-service-interface/examples/mobility-service-interface-example.cc

Issue 176430044: mobility-service-interface module code review (Closed)
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/mobility-service-interface/examples/mobility-service-interface-example.cc
===================================================================
new file mode 100644
--- /dev/null
+++ b/src/mobility-service-interface/examples/mobility-service-interface-example.cc
@@ -0,0 +1,26 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+
+#include "ns3/core-module.h"
+#include "ns3/mobility-service-interface-helper.h"
+
+using namespace ns3;
+
+
+int
+main (int argc, char *argv[])
+{
+ bool verbose = true;
+
+ CommandLine cmd;
+ cmd.AddValue ("verbose", "Tell application to log if true", verbose);
+
+ cmd.Parse (argc,argv);
+
+ /* ... */
+
+ Simulator::Run ();
+ Simulator::Destroy ();
+ return 0;
+}
+
+

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b