No Count class. More...
Public Member Functions | |
NoCount (PtrTestCase *test) | |
Constructor. More... | |
~NoCount () override | |
Destructor. More... | |
void | Nothing () const |
Noop function. More... | |
Public Member Functions inherited from ns3::tests::PtrTestBase | |
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 | |
PtrTestCase * | m_test |
The object being tracked. More... | |
No Count class.
Definition at line 68 of file ptr-test-suite.cc.
ns3::tests::NoCount::NoCount | ( | PtrTestCase * | test | ) |
Constructor.
[in] | test | The object to track. |
Definition at line 140 of file ptr-test-suite.cc.
|
override |
Destructor.
The object being tracked will also be destroyed, by calling DestroyNotify()
Definition at line 145 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 151 of file ptr-test-suite.cc.
Referenced by ns3::tests::PtrTestCase::DoRun().
|
private |
The object being tracked.
Definition at line 87 of file ptr-test-suite.cc.
Referenced by ~NoCount().