A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ns2MobilityHelperTest::ReferencePoint Struct Reference

Single record in mobility reference. More...

+ Collaboration diagram for Ns2MobilityHelperTest::ReferencePoint:

Public Member Functions

 ReferencePoint (std::string const &id, Time t, Vector const &p, Vector const &v)
bool operator< (ReferencePoint const &o) const
 Sort by timestamp. More...

Public Attributes

std::string node
 node ID as string, e.g. "1" More...
Vector pos
 reference position More...
Time time
 timestamp More...
Vector vel
 reference velocity More...

Detailed Description

Single record in mobility reference.

Definition at line 87 of file ns2-mobility-helper-test-suite.cc.

Constructor & Destructor Documentation

Ns2MobilityHelperTest::ReferencePoint::ReferencePoint ( std::string const &  id,
Time  t,
Vector const &  p,
Vector const &  v 

Definition at line 94 of file ns2-mobility-helper-test-suite.cc.

Member Function Documentation

bool Ns2MobilityHelperTest::ReferencePoint::operator< ( ReferencePoint const &  o) const

Sort by timestamp.

Definition at line 102 of file ns2-mobility-helper-test-suite.cc.

References time.

Member Data Documentation

std::string Ns2MobilityHelperTest::ReferencePoint::node
Vector Ns2MobilityHelperTest::ReferencePoint::pos
Time Ns2MobilityHelperTest::ReferencePoint::time


Definition at line 90 of file ns2-mobility-helper-test-suite.cc.

Referenced by Ns2MobilityHelperTest::CourseChange(), and operator<().

Vector Ns2MobilityHelperTest::ReferencePoint::vel

The documentation for this struct was generated from the following file: