#include "ns3/core-module.h"
#include "ns3/mobility-module.h"
Go to the source code of this file.
Functions | |
static void | CourseChange (std::string foo, Ptr< const MobilityModel > mobility) |
int | main (int argc, char *argv[]) |
|
static |
Definition at line 25 of file main-random-walk.cc.
References ns3::MobilityModel::GetPosition(), ns3::MobilityModel::GetVelocity(), 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 34 of file main-random-walk.cc.
References ns3::Config::Connect(), CourseChange(), ns3::NodeContainer::Create(), ns3::Simulator::Destroy(), ns3::MobilityHelper::InstallAll(), ns3::MakeCallback(), ns3::CommandLine::Parse(), ns3::Simulator::Run(), ns3::Config::SetDefault(), ns3::MobilityHelper::SetMobilityModel(), ns3::MobilityHelper::SetPositionAllocator(), and ns3::Simulator::Stop().