#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.
T * ns3::SimulationSingleton< T >::Get | ( | void | ) | [inline, static] |
This instance will be automatically deleted when the user calls ns3::Simulator::Destroy.