A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
Singleton

Template class implementing the Singleton design pattern. More...

+ Collaboration diagram for Singleton:

Files

file  simulation-singleton.h
 ns3::SimulationSingleton declaration and template implementation.
 
file  singleton.h
 ns3::Singleton declaration and template implementation.
 

Classes

class  ns3::SimulationSingleton< T >
 This singleton class template ensures that the type for which we want a singleton has a lifetime bounded by the simulation run lifetime. More...
 
class  ns3::Singleton< T >
 A template singleton. More...
 

Detailed Description

Template class implementing the Singleton design pattern.