Public Member Functions | Static Public Member Functions

ns3::OrbisTopologyReader Class Reference
[Topology Input Readers]

Topology file reader (Orbis-format type). More...

#include <orbis-topology-reader.h>

Inheritance diagram for ns3::OrbisTopologyReader:
Inheritance graph
[legend]
Collaboration diagram for ns3::OrbisTopologyReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual NodeContainer Read (void)
 Main topology reading function.

Static Public Member Functions

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

Detailed Description

Topology file reader (Orbis-format type).

This class takes an input file in Orbis format and extracts all the informations needed to build the topology (i.e.number of nodes, links and links structure). It have been tested with Orbis 0.70 http://www.sysnet.ucsd.edu/~pmahadevan/topo_research/topo.html


Member Function Documentation

static TypeId ns3::OrbisTopologyReader::GetTypeId ( void   )  [static]

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

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

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/LinkManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/SSManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/Classifier/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/NoiseModel/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Channel/PropagationModel/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Mac/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Phy/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::UanNetDevice/Transducer/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/BsIpcsPacketClassifier/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/LinkManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/SSManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::BaseStationNetDevice/ServiceFlowManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/Classifier/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/LinkManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/$ns3::SubscriberStationNetDevice/SSScheduler/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BandwidthManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/BurstProfileManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/NoiseModel/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Channel/$ns3::UanChannel/PropagationModel/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/ConnectionManager/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/NoiseModel/$ns3::OrbisTopologyReader
  • /NodeList/[i]/DeviceList/[i]/$ns3::WimaxNetDevice/Phy/Channel/$ns3::UanChannel/PropagationModel/$ns3::OrbisTopologyReader

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

Reimplemented from ns3::TopologyReader.

virtual NodeContainer ns3::OrbisTopologyReader::Read ( void   )  [virtual]

Main topology reading function.

This method opens an input stream and reads the Orbis-format file. Every row represents a topology link (the ids of a couple of nodes), so the input file is read line by line to figure out how many links and nodes are in the topology.

Returns:
the container of the nodes created (or empty container if there was an error)

Implements ns3::TopologyReader.


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