A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
 ~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

PtrTestCasem_test
 The object being tracked.
 

Detailed Description

No Count class.

Definition at line 57 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 129 of file ptr-test-suite.cc.

◆ ~NoCount()

ns3::tests::NoCount::~NoCount ( )
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.

+ Here is the call graph for this function:

Member Function Documentation

◆ Nothing()

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

Noop function.

Definition at line 140 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 76 of file ptr-test-suite.cc.

Referenced by ~NoCount().


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