NS-3 based Named Data Networking (NDN) simulator
ndnSIM: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
ns3::SpringMobilityModel Class Reference
Inheritance diagram for ns3::SpringMobilityModel:
Collaboration diagram for ns3::SpringMobilityModel:

Public Member Functions

 SpringMobilityModel ()
 Create a position located at coordinates (0,0,0) with velocity (0,0,0)
 
void AddSpring (Ptr< MobilityModel > node)
 Attach node by a spring. More...
 

Static Public Member Functions

static TypeId GetTypeId (void)
 

Detailed Description

Definition at line 34 of file spring-mobility-model.h.

Member Function Documentation

void ns3::SpringMobilityModel::AddSpring ( Ptr< MobilityModel >  node)

Attach node by a spring.

Parameters
nodeMobilityModel layer of the attaching node

Definition at line 87 of file spring-mobility-model.cc.


The documentation for this class was generated from the following files: