ns3::Ns2MobilityHelper Class Reference

a topology object which can read ns2's movement files generated by the CMU setdest tool. More...

#include <ns2-mobility-helper.h>

List of all members.

Public Member Functions

 Ns2MobilityHelper (std::string filename)
void Install (void) const
template<typename T >
void Install (T begin, T end) const


Detailed Description

a topology object which can read ns2's movement files generated by the CMU setdest tool.

Constructor & Destructor Documentation

ns3::Ns2MobilityHelper::Ns2MobilityHelper ( std::string  filename  ) 

Parameters:
filename filename of file which contains the ns2 movement trace.


Member Function Documentation

template<typename T >
void ns3::Ns2MobilityHelper::Install ( begin,
end 
) const [inline]

Parameters:
begin an iterator which points to the start of the input object array.
end an iterator which points to the end of the input object array.
Read the ns2 trace file and configure the movement patterns of all input objects. Each input object is identified by a unique node id which reflects the index of the object in the input array.

void ns3::Ns2MobilityHelper::Install ( void   )  const

Read the ns2 trace file and configure the movement patterns of all nodes contained in the global ns3::NodeList whose nodeId is matches the nodeId of the nodes in the trace file.


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

Generated on Fri Apr 9 15:01:10 2010 for NS-3 by  doxygen 1.5.8