Single record in mobility reference. More...
Public Member Functions | |
ReferencePoint (const std::string &id, Time t, const Vector &p, const Vector &v) | |
Constructor. More... | |
bool | operator< (const ReferencePoint &o) const |
Less-than operator - used to 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... | |
Single record in mobility reference.
Definition at line 91 of file ns2-mobility-helper-test-suite.cc.
|
inline |
Constructor.
id | reference ID |
t | time |
p | position |
v | velocity |
Definition at line 106 of file ns2-mobility-helper-test-suite.cc.
|
inline |
Less-than operator - used to sort by timestamp.
o | object to compare to |
Definition at line 119 of file ns2-mobility-helper-test-suite.cc.
References time.
std::string Ns2MobilityHelperTest::ReferencePoint::node |
node ID as string, e.g. "1"
Definition at line 93 of file ns2-mobility-helper-test-suite.cc.
Referenced by Ns2MobilityHelperTest::CheckInitialPositions(), Ns2MobilityHelperTest::CourseChange(), and show_last_packets.ShowLastPackets::update().
Vector Ns2MobilityHelperTest::ReferencePoint::pos |
reference position
Definition at line 95 of file ns2-mobility-helper-test-suite.cc.
Referenced by Ns2MobilityHelperTest::CheckInitialPositions(), and Ns2MobilityHelperTest::CourseChange().
Time Ns2MobilityHelperTest::ReferencePoint::time |
timestamp
Definition at line 94 of file ns2-mobility-helper-test-suite.cc.
Referenced by Ns2MobilityHelperTest::CourseChange(), and operator<().
Vector Ns2MobilityHelperTest::ReferencePoint::vel |
reference velocity
Definition at line 96 of file ns2-mobility-helper-test-suite.cc.
Referenced by Ns2MobilityHelperTest::CheckInitialPositions(), and Ns2MobilityHelperTest::CourseChange().