Pointer base test class. More...
Public Member Functions | |
PtrTestBase () | |
Constructor. More... | |
virtual | ~PtrTestBase () |
Destructor. More... | |
void | Ref () const |
Increment the reference count. More... | |
void | Unref () const |
Decrement the reference count, and delete if necessary. More... | |
Private Attributes | |
uint32_t | m_count |
The reference count. More... | |
Pointer base test class.
Definition at line 48 of file ptr-test-suite.cc.
ns3::tests::PtrTestBase::PtrTestBase | ( | ) |
Constructor.
Definition at line 115 of file ptr-test-suite.cc.
|
virtual |
Destructor.
Definition at line 120 of file ptr-test-suite.cc.
void ns3::tests::PtrTestBase::Ref | ( | ) | const |
Increment the reference count.
Definition at line 125 of file ptr-test-suite.cc.
References m_count.
void ns3::tests::PtrTestBase::Unref | ( | ) | const |
Decrement the reference count, and delete if necessary.
Definition at line 131 of file ptr-test-suite.cc.
References m_count.
|
mutableprivate |
The reference count.
Definition at line 61 of file ptr-test-suite.cc.