A Discrete-Event Network Simulator
API
Files | Classes
NonCopyable and Singleton

Helpers to make classes non-copyable or singleton. More...

Files

file  non-copyable.h
 ns3::NonCopyable declaration.
 
file  singleton.h
 ns3::Singleton declaration and template implementation.
 

Classes

class  ns3::NonCopyable
 A base class for (non-Singleton) objects which shouldn't be copied. More...
 
class  ns3::Singleton< T >
 A template singleton. More...
 

Detailed Description

Helpers to make classes non-copyable or singleton.