Example program illustrating use of ns3::CommandLine. More...
#include <iostream>
#include <iomanip>
#include <string>
#include "ns3/core-module.h"
Go to the source code of this file.
Functions | |
bool | SetCbArg (std::string val) |
Function to illustrate command line arguments handled by a Callback function. More... | |
Variables | |
std::string | g_cbArg = "cbArg default" |
Global variable to illustrate command line arguments handled by a Callback function. More... | |
Example program illustrating use of ns3::CommandLine.
Definition in file command-line-example.cc.
bool SetCbArg | ( | std::string | val | ) |
Function to illustrate command line arguments handled by a Callback function.
[in] | val | New value for g_cbArg . |
true
. Definition at line 49 of file command-line-example.cc.
References g_cbArg.
std::string g_cbArg = "cbArg default" |
Global variable to illustrate command line arguments handled by a Callback function.
Definition at line 40 of file command-line-example.cc.
Referenced by SetCbArg().