#include <iostream>
#include <iomanip>
#include <string>
#include "ns3/core-module.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
bool | SetCbArg (std::string val) |
Variables | |
std::string | g_cbArg = "cbArg default" |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 40 of file command-line-example.cc.
References ns3::CommandLine::AddValue(), ns3::TypeId::AttributeInformation::checker, g_cbArg, ns3::CommandLine::GetName(), ns3::TypeId::AttributeInformation::initialValue, ns3::TypeId::LookupAttributeByName(), ns3::TypeId::LookupByName(), ns3::MakeCallback(), ns3::TypeId::AttributeInformation::originalInitialValue, ns3::CommandLine::Parse(), SetCbArg(), and ns3::CommandLine::Usage().
bool SetCbArg | ( | std::string | val | ) |
Definition at line 33 of file command-line-example.cc.
References g_cbArg.
Referenced by main().
std::string g_cbArg = "cbArg default" |
Definition at line 31 of file command-line-example.cc.
Referenced by main(), and SetCbArg().