A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns2-mobility-trace.cc File Reference
#include <iostream>
#include <fstream>
#include <sstream>
#include "ns3/core-module.h"
#include "ns3/mobility-module.h"
#include "ns3/ns2-mobility-helper.h"
+ Include dependency graph for ns2-mobility-trace.cc:

Go to the source code of this file.

Functions

static void CourseChange (std::ostream *os, std::string foo, Ptr< const MobilityModel > mobility)
 
int main (int argc, char *argv[])
 

Function Documentation

static void CourseChange ( std::ostream *  os,
std::string  foo,
Ptr< const MobilityModel mobility 
)
static

Definition at line 64 of file ns2-mobility-trace.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: