SetGroupName for energy module
This commit is contained in:
@@ -35,6 +35,7 @@ EnergyHarvesterContainer::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::EnergyHarvesterContainer")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Energy")
|
||||
.AddConstructor<EnergyHarvesterContainer> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -32,6 +32,7 @@ EnergySourceContainer::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::EnergySourceContainer")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Energy")
|
||||
.AddConstructor<EnergySourceContainer> ()
|
||||
;
|
||||
return tid;
|
||||
|
||||
@@ -39,6 +39,7 @@ BasicEnergyHarvester::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::BasicEnergyHarvester")
|
||||
.SetParent<EnergyHarvester> ()
|
||||
.SetGroupName ("Energy")
|
||||
.AddConstructor<BasicEnergyHarvester> ()
|
||||
.AddAttribute ("PeriodicHarvestedPowerUpdateInterval",
|
||||
"Time between two consecutive periodic updates of the harvested power. By default, the value is updated every 1 s",
|
||||
|
||||
@@ -36,6 +36,7 @@ BasicEnergySource::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::BasicEnergySource")
|
||||
.SetParent<EnergySource> ()
|
||||
.SetGroupName ("Energy")
|
||||
.AddConstructor<BasicEnergySource> ()
|
||||
.AddAttribute ("BasicEnergySourceInitialEnergyJ",
|
||||
"Initial energy stored in basic energy source.",
|
||||
|
||||
@@ -32,6 +32,7 @@ DeviceEnergyModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::DeviceEnergyModel")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Energy")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@ EnergyHarvester::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::EnergyHarvester")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Energy")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ EnergySource::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::EnergySource")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Energy")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ LiIonEnergySource::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::LiIonEnergySource")
|
||||
.SetParent<EnergySource> ()
|
||||
.SetGroupName ("Energy")
|
||||
.AddConstructor<LiIonEnergySource> ()
|
||||
.AddAttribute ("LiIonEnergySourceInitialEnergyJ",
|
||||
"Initial energy stored in basic energy source.",
|
||||
|
||||
@@ -37,6 +37,7 @@ RvBatteryModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RvBatteryModel")
|
||||
.SetParent<EnergySource> ()
|
||||
.SetGroupName ("Energy")
|
||||
.AddConstructor<RvBatteryModel> ()
|
||||
.AddAttribute ("RvBatteryModelPeriodicEnergyUpdateInterval",
|
||||
"RV battery model sampling interval.",
|
||||
|
||||
@@ -35,6 +35,7 @@ SimpleDeviceEnergyModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::SimpleDeviceEnergyModel")
|
||||
.SetParent<DeviceEnergyModel> ()
|
||||
.SetGroupName ("Energy")
|
||||
.AddConstructor<SimpleDeviceEnergyModel> ()
|
||||
.AddTraceSource ("TotalEnergyConsumption",
|
||||
"Total energy consumption of the radio device.",
|
||||
|
||||
@@ -38,6 +38,7 @@ WifiRadioEnergyModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::WifiRadioEnergyModel")
|
||||
.SetParent<DeviceEnergyModel> ()
|
||||
.SetGroupName ("Energy")
|
||||
.AddConstructor<WifiRadioEnergyModel> ()
|
||||
.AddAttribute ("IdleCurrentA",
|
||||
"The default radio Idle current in Ampere.",
|
||||
|
||||
@@ -39,6 +39,7 @@ WifiTxCurrentModel::GetTypeId (void)
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::WifiTxCurrentModel")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Energy")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user