A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
constant-mobility-example.cc File Reference
#include <ns3/mobility-module.h>
#include <ns3/node.h>
#include <ns3/simulator.h>
+ Include dependency graph for constant-mobility-example.cc:

Go to the source code of this file.

Functions

void CourseChangeCallback (Ptr< const MobilityModel > mobility)
 
void MoveNode (Ptr< Node > node, const Vector &pos)
 

Function Documentation

◆ CourseChangeCallback()

void CourseChangeCallback ( Ptr< const MobilityModel > mobility)

Definition at line 31 of file constant-mobility-example.cc.

References ns3::Time::As(), ns3::Simulator::Now(), and ns3::Time::S.

+ Here is the call graph for this function:

◆ MoveNode()

void MoveNode ( Ptr< Node > node,
const Vector & pos )

Definition at line 38 of file constant-mobility-example.cc.

References ns3::Time::As(), ns3::Simulator::Now(), NS_ASSERT_MSG, and ns3::Time::S.

+ Here is the call graph for this function: