Public Member Functions

ns3::RefCountBase Class Reference

a base class that provides implementations of reference counting operations. More...

#include <ref-count-base.h>

Inheritance diagram for ns3::RefCountBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void Ref () const
void Unref () const

Detailed Description

a base class that provides implementations of reference counting operations.

A base class that provides implementations of reference counting operations, for classes that wish to use the templatized smart pointer for memory management but that do not wish to derive from class ns3::Object.


Member Function Documentation

void ns3::RefCountBase::Ref (  )  const [inline]

Increment the reference count. This method should not be called by user code. RefCountBase instances are expected to be used in conjunction with the Ptr template which would make calling Ref unecessary and dangerous.

void ns3::RefCountBase::Unref ( void   )  const [inline]

Decrement the reference count. This method should not be called by user code. RefCountBase instances are expected to be used in conjunction with the Ptr template which would make calling Ref unecessary and dangerous.


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