A Discrete-Event Network Simulator
API
Modules | Files | Classes
Callbacks

Wrap functions, objects, and arguments into self contained callbacks. More...

Modules

 Callback Implementation
 Callback implementation classes.
 
 MakeBoundCallback from functions bound with up to three arguments.
 Build bound Callbacks which take varying numbers of arguments, and potentially returning a value.
 
 MakeCallback from function pointers
 Build Callbacks for functions which take varying numbers of arguments and potentially returning a value.
 
 MakeCallback from member function pointer
 Build Callbacks for class method members which take varying numbers of arguments and potentially returning a value.
 
 MakeCallback with no arguments
 Define empty (Null) callbacks as placeholders for unset callback variables.
 

Files

file  callback.cc
 ns3::CallbackValue implementation.
 
file  callback.h
 Declaration of the various callback functions.
 
file  empty.h
 ns3::empty declaration, used by callbacks.
 

Classes

class  ns3::Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 >
 Callback template class. More...
 

Detailed Description

Wrap functions, objects, and arguments into self contained callbacks.

Wrapped callbacks are at the heart of scheduling events in the simulator.