A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
main-random-walk.cc File Reference
#include "ns3/core-module.h"
#include "ns3/mobility-module.h"
+ Include dependency graph for main-random-walk.cc:

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[])
 

Function Documentation

static void CourseChange ( std::string  foo,
Ptr< const MobilityModel mobility 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: