No Count class. More...
Public Member Functions | |
NoCount (PtrTestCase *test) | |
Constructor. | |
~NoCount () override | |
Destructor. | |
void | Nothing () const |
Noop function. | |
Public Member Functions inherited from ns3::tests::PtrTestBase | |
PtrTestBase () | |
Constructor. | |
virtual | ~PtrTestBase () |
Destructor. | |
void | Ref () const |
Increment the reference count. | |
void | Unref () const |
Decrement the reference count, and delete if necessary. | |
Private Attributes | |
PtrTestCase * | m_test |
The object being tracked. | |
No Count class.
Definition at line 57 of file ptr-test-suite.cc.
ns3::tests::NoCount::NoCount | ( | PtrTestCase * | test | ) |
Constructor.
[in] | test | The object to track. |
Definition at line 129 of file ptr-test-suite.cc.
|
override |
Destructor.
The object being tracked will also be destroyed, by calling DestroyNotify()
Definition at line 134 of file ptr-test-suite.cc.
References ns3::tests::PtrTestCase::DestroyNotify(), and m_test.
void ns3::tests::NoCount::Nothing | ( | ) | const |
Noop function.
Definition at line 140 of file ptr-test-suite.cc.
Referenced by ns3::tests::PtrTestCase::DoRun().
|
private |
The object being tracked.
Definition at line 76 of file ptr-test-suite.cc.
Referenced by ~NoCount().