update manual for SetGroupName
This commit is contained in:
@@ -165,6 +165,7 @@ This is defined in the ``node.cc`` file as follows::
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::Node")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Network")
|
||||
.AddConstructor<Node> ()
|
||||
.AddAttribute ("DeviceList",
|
||||
"The list of devices associated to this Node.",
|
||||
@@ -300,6 +301,7 @@ registrations are moved into the :cpp:class:`TypeId` class; *e.g*.::
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::DropTailQueue")
|
||||
.SetParent<Queue> ()
|
||||
.SetGroupName ("Network")
|
||||
.AddConstructor<DropTailQueue> ()
|
||||
.AddAttribute ("MaxPackets",
|
||||
"The maximum number of packets accepted by this DropTailQueue.",
|
||||
|
||||
@@ -341,6 +341,7 @@ file.::
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::ErrorModel")
|
||||
.SetParent<Object> ()
|
||||
.SetGroupName ("Network")
|
||||
;
|
||||
return tid;
|
||||
}
|
||||
@@ -359,6 +360,7 @@ file.::
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RateErrorModel")
|
||||
.SetParent<ErrorModel> ()
|
||||
.SetGroupName ("Network")
|
||||
.AddConstructor<RateErrorModel> ()
|
||||
;
|
||||
return tid;
|
||||
@@ -556,6 +558,7 @@ and setting the Parent to ErrorModel::
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RateErrorModel")
|
||||
.SetParent<ErrorModel> ()
|
||||
.SetGroupName ("Network")
|
||||
.AddConstructor<RateErrorModel> ()
|
||||
...
|
||||
|
||||
|
||||
@@ -277,6 +277,7 @@ An example is in the propagation models for WifiNetDevice::
|
||||
{
|
||||
static TypeId tid = TypeId ("ns3::RandomPropagationDelayModel")
|
||||
.SetParent<PropagationDelayModel> ()
|
||||
.SetGroupName ("Propagation")
|
||||
.AddConstructor<RandomPropagationDelayModel> ()
|
||||
.AddAttribute ("Variable",
|
||||
"The random variable which generates random delays (s).",
|
||||
|
||||
Reference in New Issue
Block a user