ns3::PointToPointTest Class Reference

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

List of all members.

Public Member Functions

 PointToPointTest ()
virtual bool RunTests (void)

Private Member Functions

void SendOnePacket (Ptr< PointToPointNetDevice > device)

Detailed Description

Definition at line 11 of file point-to-point-test.cc.


Constructor & Destructor Documentation

ns3::PointToPointTest::PointToPointTest (  ) 

Definition at line 22 of file point-to-point-test.cc.


Member Function Documentation

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

Implements ns3::Test.

Definition at line 35 of file point-to-point-test.cc.

References ns3::Mac48Address::Allocate(), ns3::Simulator::Destroy(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Seconds(), and SendOnePacket().

void ns3::PointToPointTest::SendOnePacket ( Ptr< PointToPointNetDevice device  )  [private]

Definition at line 27 of file point-to-point-test.cc.

Referenced by RunTests().


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