A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::RefCountBase Class Reference

A deprecated way to get reference-counting powers. More...

#include <ref-count-base.h>

+ Inheritance diagram for ns3::RefCountBase:

Public Member Functions

virtual ~RefCountBase ()
 
- Public Member Functions inherited from ns3::SimpleRefCount< RefCountBase >
 SimpleRefCount (const SimpleRefCount &o)
 
uint32_t GetReferenceCount (void) const
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 
void Ref (void) const
 
void Unref (void) const
 

Additional Inherited Members

- Static Public Member Functions inherited from ns3::SimpleRefCount< RefCountBase >
static void Cleanup (void)
 

Detailed Description

A deprecated way to get reference-counting powers.

Users who wish to use reference counting for a class of their own should use instead the template ns3::SimpleRefCount. This class is maintained purely for compatibility to avoid breaking the code of users.

Definition at line 37 of file ref-count-base.h.

Constructor & Destructor Documentation

ns3::RefCountBase::~RefCountBase ( )
virtual

This only thing this class does it declare a virtual destructor

Definition at line 8 of file ref-count-base.cc.

References NS_LOG_FUNCTION.


The documentation for this class was generated from the following files: