#include <constant-velocity-mobility-model.h>
Public Member Functions | |
ConstantVelocityMobilityModel () | |
void | SetVelocity (const Vector &speed) |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
This method returns the TypeId associated to ns3::ConstantVelocityMobilityModel. | |
Private Member Functions | |
virtual Vector | DoGetPosition (void) const |
virtual void | DoSetPosition (const Vector &position) |
virtual Vector | DoGetVelocity (void) const |
ns3::ConstantVelocityMobilityModel::ConstantVelocityMobilityModel | ( | ) |
Create position located at coordinates (0,0,0) with speed (0,0,0).
virtual Vector ns3::ConstantVelocityMobilityModel::DoGetPosition | ( | void | ) | const [private, virtual] |
Implements ns3::MobilityModel.
virtual Vector ns3::ConstantVelocityMobilityModel::DoGetVelocity | ( | void | ) | const [private, virtual] |
Implements ns3::MobilityModel.
virtual void ns3::ConstantVelocityMobilityModel::DoSetPosition | ( | const Vector & | position | ) | [private, virtual] |
position | the position to set. |
Implements ns3::MobilityModel.
static TypeId ns3::ConstantVelocityMobilityModel::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::ConstantVelocityMobilityModel.
This object is accessible through the following paths with Config::Set and Config::Connect:
Reimplemented from ns3::MobilityModel.
void ns3::ConstantVelocityMobilityModel::SetVelocity | ( | const Vector & | speed | ) |
speed | the new speed to set. |