update manual for SetGroupName

This commit is contained in:
Tom Henderson
2015-03-27 11:58:58 -07:00
parent 44d377e425
commit 368e8fcbf6
3 changed files with 6 additions and 0 deletions

View File

@@ -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.",

View File

@@ -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> ()
...

View File

@@ -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).",