A Discrete-Event Network Simulator
API
main-callback.cc File Reference

Example program illustrating use of callback functions and methods. More...

#include "ns3/callback.h"
#include "ns3/assert.h"
#include "ns3/command-line.h"
#include <iostream>
+ Include dependency graph for main-callback.cc:

Go to the source code of this file.

Detailed Description

Example program illustrating use of callback functions and methods.

See Callbacks

Usage

$ ./ns3 run "main-callback"

Definition in file main-callback.cc.