diff --git a/doc/manual/source/attributes.rst b/doc/manual/source/attributes.rst index c810ed356..8f668455a 100644 --- a/doc/manual/source/attributes.rst +++ b/doc/manual/source/attributes.rst @@ -165,6 +165,7 @@ This is defined in the ``node.cc`` file as follows:: { static TypeId tid = TypeId ("ns3::Node") .SetParent () + .SetGroupName ("Network") .AddConstructor () .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 () + .SetGroupName ("Network") .AddConstructor () .AddAttribute ("MaxPackets", "The maximum number of packets accepted by this DropTailQueue.", diff --git a/doc/manual/source/new-models.rst b/doc/manual/source/new-models.rst index bd49e0576..cb53ee78e 100644 --- a/doc/manual/source/new-models.rst +++ b/doc/manual/source/new-models.rst @@ -341,6 +341,7 @@ file.:: { static TypeId tid = TypeId ("ns3::ErrorModel") .SetParent () + .SetGroupName ("Network") ; return tid; } @@ -359,6 +360,7 @@ file.:: { static TypeId tid = TypeId ("ns3::RateErrorModel") .SetParent () + .SetGroupName ("Network") .AddConstructor () ; return tid; @@ -556,6 +558,7 @@ and setting the Parent to ErrorModel:: { static TypeId tid = TypeId ("ns3::RateErrorModel") .SetParent () + .SetGroupName ("Network") .AddConstructor () ... diff --git a/doc/manual/source/random-variables.rst b/doc/manual/source/random-variables.rst index 04028814d..4b48b96c1 100644 --- a/doc/manual/source/random-variables.rst +++ b/doc/manual/source/random-variables.rst @@ -277,6 +277,7 @@ An example is in the propagation models for WifiNetDevice:: { static TypeId tid = TypeId ("ns3::RandomPropagationDelayModel") .SetParent () + .SetGroupName ("Propagation") .AddConstructor () .AddAttribute ("Variable", "The random variable which generates random delays (s).",