SetGroupName for mobility module
This commit is contained in:
@@ -26,6 +26,7 @@ TypeId ConstantAccelerationMobilityModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::ConstantAccelerationMobilityModel")
|
||||
.SetParent<MobilityModel> ()
|
||||
.SetGroupName ("Mobility")
|
||||
.AddConstructor<ConstantAccelerationMobilityModel> ();
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ ConstantPositionMobilityModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::ConstantPositionMobilityModel")
|
||||
.SetParent<MobilityModel> ()
|
||||
.SetGroupName ("Mobility")
|
||||
.AddConstructor<ConstantPositionMobilityModel> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -28,6 +28,7 @@ TypeId ConstantVelocityMobilityModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::ConstantVelocityMobilityModel")
|
||||
.SetParent<MobilityModel> ()
|
||||
.SetGroupName ("Mobility")
|
||||
.AddConstructor<ConstantVelocityMobilityModel> ();
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ HierarchicalMobilityModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::HierarchicalMobilityModel")
|
||||
.SetParent<MobilityModel> ()
|
||||
.SetGroupName ("Mobility")
|
||||
.AddConstructor<HierarchicalMobilityModel> ()
|
||||
.AddAttribute ("Child", "The child mobility model.",
|
||||
PointerValue (),
|
||||
|
||||
@@ -32,6 +32,7 @@ MobilityModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::MobilityModel")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Mobility")
|
||||
.AddAttribute ("Position", "The current position of the mobility model.",
|
||||
TypeId::ATTR_SET | TypeId::ATTR_GET,
|
||||
VectorValue (Vector (0.0, 0.0, 0.0)),
|
||||
|
||||
Reference in New Issue
Block a user