From 3fe8f75d1bc814cd1bbee6514b8b486dbe6b5a43 Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Thu, 19 Jul 2007 13:02:02 +0200 Subject: [PATCH] a dox summary header for the mobility support --- SConstruct | 3 +++ src/mobility/mobility.h | 42 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 src/mobility/mobility.h diff --git a/SConstruct b/SConstruct index 794cd503c..a3a002d90 100644 --- a/SConstruct +++ b/SConstruct @@ -268,6 +268,9 @@ mobility.add_inst_headers ([ 'random-topology.h', 'ns2-mobility-file-topology.h', ]) +mobility.add_headers ([ + 'mobility.h' + ]) node = build.Ns3Module ('node', 'src/node') ns3.add (node) diff --git a/src/mobility/mobility.h b/src/mobility/mobility.h new file mode 100644 index 000000000..46864e5a5 --- /dev/null +++ b/src/mobility/mobility.h @@ -0,0 +1,42 @@ +/** + * \defgroup mobility Mobility + * + * The mobility support includes: + * - a set of mobility models which are used to track and maintain + * the "current" cartesian position and speed of an object. + * + * - a "course change notifier" which can be used to register listeners + * to the course changes of a mobility model: ns3::MobilityModelNotifier. + * + * - a set of topology constructors which are used to set the initial + * position and associate a specific mobility model to a set of objects. + * + * The mobility models themselves are: + * - StaticMobilityModel: a model which maintains a constant position + * until it is changed by the user. + * + * - StaticSpeedMobilityModel: a model which maintains a constant speed + * until it is changed by the user. + * + * - HierarchicalMobilityModel: a model which calculates the current + * absolute position from a "reference" (parent) mobility model + * and a "relative" (child) mobility model. This allows users to + * compose mobility models. + * + * - RandomWalk2dMobilityModel: a 2d "brownian" motion mobility model + * where the bounds of the mobility area are a rectangle. + * + * - RandomWaypointMobilityModel: a 3d random waypoint mobility model. + * + * - RandomDirection2dMobilityModel: a 2d random direction mobility + * model where the bounds of the mobility are are a rectangle. + * + * The topology constructors: + * - GridTopology: layout objects in a 2d grid. + * + * - RandomTopology: layout objects in a 3d space, according to a + * RandomPosition model. + * + * - Ns2MobilityFileTopology: layout objects in a 3d space according + * to an ns2 CMU mobility file (as generated by the setdest tool). + */