ns-3
ns3::SameRoomPositionAllocator Class Reference

#include <building-position-allocator.h>

Inheritance diagram for ns3::SameRoomPositionAllocator:
Collaboration diagram for ns3::SameRoomPositionAllocator:

List of all members.

Public Member Functions

 SameRoomPositionAllocator (NodeContainer c)
virtual Vector GetNext (void) const

Static Public Member Functions

static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::SameRoomPositionAllocator.

Detailed Description

Walks a given NodeContainer sequentially, and for each node allocate a new position randomly in the same room of that node


Member Function Documentation

TypeId ns3::SameRoomPositionAllocator::GetTypeId ( void  )
static

This method returns the TypeId associated to ns3::SameRoomPositionAllocator.

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/$ns3::MobilityModel/$ns3::RandomWaypointMobilityModel/PositionAllocator/$ns3::SameRoomPositionAllocator

No Attributes defined for this type.
No TraceSources defined for this type.

Reimplemented from ns3::PositionAllocator.

References ns3::TypeId::SetParent().


The documentation for this class was generated from the following files: