#include "ns3/core-module.h"
#include "ns3/mobility-module.h"
Go to the source code of this file.
Functions | |
static void | CourseChange (std::string context, Ptr< const MobilityModel > position) |
int | main (int argc, char *argv[]) |
|
static |
Definition at line 26 of file main-random-topology.cc.
References ns3::MobilityModel::GetPosition(), ns3::Simulator::Now(), ns3::Vector3D::x, ns3::Vector3D::y, and ns3::Vector3D::z.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 33 of file main-random-topology.cc.
References ns3::Config::Connect(), CourseChange(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), ns3::MobilityHelper::Install(), ns3::MakeCallback(), ns3::CommandLine::Parse(), ns3::Simulator::Run(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), and ns3::Simulator::Stop().