A Discrete-Event Network Simulator
API
ns3::tests::NoCount Class Reference

No Count class. More...

+ Inheritance diagram for ns3::tests::NoCount:
+ Collaboration diagram for ns3::tests::NoCount:

Public Member Functions

 NoCount (PtrTestCase *test)
 Constructor. More...
 
 ~NoCount ()
 Destructor. More...
 
void Nothing (void) const
 Noop function. More...
 
- Public Member Functions inherited from ns3::tests::PtrTestBase
 PtrTestBase ()
 Constructor. More...
 
virtual ~PtrTestBase ()
 Destructor. More...
 
void Ref (void) const
 Increment the reference count. More...
 
void Unref (void) const
 Decrement the reference count, and delete if necessary. More...
 

Private Attributes

PtrTestCasem_test
 The object being tracked. More...
 

Detailed Description

No Count class.

Definition at line 67 of file ptr-test-suite.cc.

Constructor & Destructor Documentation

◆ NoCount()

ns3::tests::NoCount::NoCount ( PtrTestCase test)

Constructor.

Parameters
[in]testThe object to track.

Definition at line 136 of file ptr-test-suite.cc.

◆ ~NoCount()

ns3::tests::NoCount::~NoCount ( )

Destructor.

The object being tracked will also be destroyed, by calling DestroyNotify()

Definition at line 140 of file ptr-test-suite.cc.

References ns3::tests::PtrTestCase::DestroyNotify(), and m_test.

+ Here is the call graph for this function:

Member Function Documentation

◆ Nothing()

void ns3::tests::NoCount::Nothing ( void  ) const

Noop function.

Definition at line 145 of file ptr-test-suite.cc.

Referenced by ns3::tests::PtrTestCase::DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_test

PtrTestCase* ns3::tests::NoCount::m_test
private

The object being tracked.

Definition at line 85 of file ptr-test-suite.cc.

Referenced by ~NoCount().


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