This documentation is not the Latest Release.
A Discrete-Event Network Simulator
API
bonnmotion-ns2-example.cc File Reference
#include "ns3/core-module.h"
#include "ns3/mobility-module.h"
+ Include dependency graph for bonnmotion-ns2-example.cc:

Go to the source code of this file.

Functions

void showPosition (Ptr< Node > node, double deltaTime)
 

Function Documentation

void showPosition ( Ptr< Node node,
double  deltaTime 
)

Definition at line 48 of file bonnmotion-ns2-example.cc.

References ns3::Node::GetId(), ns3::Object::GetObject(), ns3::MobilityModel::GetPosition(), ns3::Time::GetSeconds(), ns3::MobilityModel::GetVelocity(), ns3::Simulator::Now(), ns3::Simulator::Schedule(), ns3::Seconds(), ns3::Vector3D::x, ns3::Vector3D::y, and ns3::Vector3D::z.

+ Here is the call graph for this function: