A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::ConstantVelocityHelper Class Reference

Utility class used to move node with constant velocity. More...

#include <constant-velocity-helper.h>

Public Member Functions

 ConstantVelocityHelper (const Vector &position)
 
 ConstantVelocityHelper (const Vector &position, const Vector &vel)
 
Vector GetCurrentPosition (void) const
 
Vector GetVelocity (void) const
 
void Pause (void)
 
void SetPosition (const Vector &position)
 
void SetVelocity (const Vector &vel)
 
void Unpause (void)
 
void Update (void) const
 
void UpdateWithBounds (const Rectangle &rectangle) const
 
void UpdateWithBounds (const Box &bounds) const
 

Private Attributes

Time m_lastUpdate
 
bool m_paused
 
Vector m_position
 
Vector m_velocity
 

Detailed Description

Utility class used to move node with constant velocity.

Definition at line 36 of file constant-velocity-helper.h.


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