Example program illustrating use of callback functions and methods. More...
#include "ns3/callback.h"
#include "ns3/assert.h"
#include <iostream>
Go to the source code of this file.
Classes | |
class | MyCb |
Example Callback class. More... | |
Functions | |
static double | CbOne (double a, double b) |
Example Callback function. More... | |
Example program illustrating use of callback functions and methods.
See Callbacks
Definition in file main-callback.cc.
|
static |
Example Callback function.
[in] | a | The first argument. |
[in] | b | The second argument. |
Definition at line 42 of file main-callback.cc.