Example program demonstrating use of various Schedule functions. More...
#include "ns3/command-line.h"
#include "ns3/double.h"
#include "ns3/nstime.h"
#include "ns3/random-variable-stream.h"
#include "ns3/simulator.h"
#include <iostream>
Go to the source code of this file.
Classes | |
class | anonymous_namespace{sample-simulator.cc}::MyModel |
Simple model object to illustrate event handling. More... | |
Namespaces | |
namespace | anonymous_namespace{sample-simulator.cc} |
Functions | |
void | anonymous_namespace{sample-simulator.cc}::CancelledEvent () |
Simple function event handler; the corresponding event is cancelled. | |
void | anonymous_namespace{sample-simulator.cc}::ExampleFunction (MyModel *model) |
Simple function event handler which Starts a MyModel object. | |
void | anonymous_namespace{sample-simulator.cc}::RandomFunction () |
Simple function event handler; this function is called randomly. | |
Example program demonstrating use of various Schedule functions.
Definition in file sample-simulator.cc.