ns-3
|
#include <simulation-singleton.h>
Static Public Member Functions | |
static T * | Get (void) |
This singleton class template ensures that the type for which we want a singleton has a lifetime bounded by the simulation lifetime. That it, the underlying type will be automatically deleted upon a users' call to Simulator::Destroy.
|
static |
This instance will be automatically deleted when the user calls ns3::Simulator::Destroy.