ns3::PtrTest Class Reference

Inheritance diagram for ns3::PtrTest:
Inheritance graph
[legend]
Collaboration diagram for ns3::PtrTest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PtrTest ()
virtual ~PtrTest ()
virtual bool RunTests (void)
void DestroyNotify (void)

Private Member Functions

Ptr< NoCountCallTest (Ptr< NoCount > p)
Ptr< NoCount > const CallTestConst (Ptr< NoCount > const p)

Private Attributes

uint32_t m_nDestroyed

Detailed Description

Definition at line 33 of file ptr.cc.


Constructor & Destructor Documentation

ns3::PtrTest::PtrTest (  ) 

Definition at line 99 of file ptr.cc.

ns3::PtrTest::~PtrTest (  )  [virtual]

Definition at line 103 of file ptr.cc.


Member Function Documentation

Ptr< NoCount > ns3::PtrTest::CallTest ( Ptr< NoCount p  )  [private]

Definition at line 112 of file ptr.cc.

Referenced by RunTests().

Ptr< NoCount > const ns3::PtrTest::CallTestConst ( Ptr< NoCount > const   p  )  [private]

Definition at line 118 of file ptr.cc.

Referenced by RunTests().

void ns3::PtrTest::DestroyNotify ( void   ) 

Definition at line 107 of file ptr.cc.

References m_nDestroyed.

Referenced by ns3::NoCount::~NoCount().

bool ns3::PtrTest::RunTests ( void   )  [virtual]
Returns:
true if the test was successful, false otherwise.

Implements ns3::Test.

Definition at line 124 of file ptr.cc.

References CallTest(), CallTestConst(), ns3::GetPointer(), m_nDestroyed, ns3::MakeCallback(), ns3::NoCount::Nothing(), and ns3::PeekPointer().


Member Data Documentation

uint32_t ns3::PtrTest::m_nDestroyed [private]

Definition at line 43 of file ptr.cc.

Referenced by DestroyNotify(), and RunTests().


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 14:10:24 2009 for NS-3 by  doxygen 1.6.3