From 368e8fcbf65f308fce2efdf9cfcc9a3c59789554 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Fri, 27 Mar 2015 11:58:58 -0700 Subject: [PATCH] update manual for SetGroupName --- doc/manual/source/attributes.rst | 2 ++ doc/manual/source/new-models.rst | 3 +++ doc/manual/source/random-variables.rst | 1 + 3 files changed, 6 insertions(+) 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).",