Doxygen organization

This commit is contained in:
Tom Henderson
2008-05-29 23:24:10 -07:00
parent 554fcfda0d
commit dfb9b7360a
44 changed files with 137 additions and 3 deletions

View File

@@ -36,6 +36,8 @@
namespace ns3 {
/**
* \ingroup packet
*
* \brief automatically resized byte buffer
*
* This represents a buffer of bytes. Its size is

View File

@@ -6,6 +6,9 @@
namespace ns3 {
/**
* \ingroup packet
*/
class Chunk : public ObjectBase
{
public:

View File

@@ -31,6 +31,9 @@
namespace ns3 {
/**
* \ingroup common
* \defgroup datarate Data Rate
*
* \brief Class for representing data rates
*
* Allows for natural and familiar use of data rates. Allows construction

View File

@@ -30,6 +30,9 @@ namespace ns3 {
class Packet;
/**
* \ingroup common
* \defgroup errormodel Error Model
*
* \brief General error model that can be used to corrupt packets
*
* This object is used to flag packets as being lost/errored or not.

View File

@@ -28,6 +28,8 @@
namespace ns3 {
/**
* \ingroup Packet
*
* \brief Protocol header serialization and deserialization.
*
* Every Protocol header which needs to be inserted or removed

View File

@@ -36,6 +36,7 @@ class Trailer;
/**
* \internal
* \ingroup packet
* \brief handle packet metadata about packet headers and trailers
*
* This class is used by the Packet class to record every operation

View File

@@ -96,6 +96,9 @@ private:
};
/**
* \ingroup common
* \defgroup packet Packet
*
* \brief network packets
*
* Each network packet contains a byte buffer, a set of tags, and

View File

@@ -29,6 +29,8 @@ namespace ns3 {
class Packet;
/**
* \ingroup common
*
* \brief Pcap output for Packet logger
*
* Log Packets to a file in pcap format which can be

View File

@@ -33,6 +33,8 @@
namespace ns3 {
/**
* \ingroup packet
*
* \brief read and write tag data
*
* This class allows subclasses of the ns3::Tag base class

View File

@@ -29,6 +29,8 @@ namespace ns3 {
struct TagListData;
/**
* \ingroup packet
*
* \brief keep track of the tags stored in a packet.
*
* This class is mostly private to the Packet implementation and users

View File

@@ -27,6 +27,8 @@
namespace ns3 {
/**
* \ingroup packet
*
* \brief tag a set of bytes in a packet
*
* New kinds of tags can be created by subclassing this base class.

View File

@@ -29,6 +29,8 @@
namespace ns3 {
/**
* \ingroup packet
*
* \brief Protocol trailer serialization and deserialization.
*
* Every Protocol trailer which needs to be inserted or removed

View File

@@ -28,7 +28,12 @@
/**
* \ingroup core
* \defgroup debugging Debugging
*/
/**
* \ingroup debugging
* \defgroup assert Assert
*
* \brief assert functions and macros
*
* The assert macros are used to verify

View File

@@ -24,10 +24,16 @@
namespace ns3 {
/**
* \ingroup AttributeHelper
*/
template <typename V, typename T1>
Ptr<const AttributeAccessor>
MakeAccessorHelper (T1 a1);
/**
* \ingroup AttributeHelper
*/
template <typename V, typename T1, typename T2>
Ptr<const AttributeAccessor>
MakeAccessorHelper (T1 a1, T2 a2);

View File

@@ -28,6 +28,8 @@
namespace ns3 {
/**
* \ingroup attribute
*
* \brief a container of attributes to be used during object's construction
* and in ns3::Object::Set.
*

View File

@@ -33,6 +33,15 @@ class Attribute;
class ObjectBase;
/**
*
* \ingroup core
* \defgroup attribute Attribute
*/
/**
*
* \ingroup attribute
*
* \brief Hold a value for an Attribute.
*
* Instances of this class should always be wrapped into an Attribute object.
@@ -78,6 +87,8 @@ public:
/**
* \brief allow setting and getting the value of an attribute.
*
* \ingroup attribute
*
* The goal of this class is to hide from the user how an attribute
* is actually set or get to or from a class instance. Implementations
* of this base class are usually provided through the MakeAccessorHelper
@@ -124,6 +135,8 @@ public:
/**
* \brief Represent the type of an attribute
*
* \ingroup attribute
*
* Each type of attribute has an associated unique AttributeChecker
* subclass. The type of the subclass can be safely used by users
* to infer the type of the associated attribute. i.e., we expect
@@ -180,6 +193,11 @@ public:
};
/**
* \brief A class for an empty attribute value
*
* \ingroup attribute
*/
class EmptyAttributeValue : public AttributeValue
{
public:

View File

@@ -26,6 +26,8 @@
namespace ns3 {
/**
* \ingroup attribute
*
* \brief Hold a bool native type
*
* \anchor bool

View File

@@ -27,6 +27,8 @@
namespace ns3 {
/**
* \ingroup attribute
*
* \class ns3::DoubleValue
* \brief Hold an floating point type
*

View File

@@ -2,6 +2,9 @@
#define EMPTY_H
namespace ns3 {
/**
* \brief make Callback use a separate empty type
*/
class empty {};
}

View File

@@ -27,6 +27,8 @@
namespace ns3 {
/**
* \ingroup attribute
*
* \brief hold variables of type 'enum'
*
* This class can be used to hold variables of any kind

View File

@@ -24,8 +24,7 @@
#include <iostream>
/**
* \ingroup core
* \defgroup error Error
* \ingroup debugging
* \brief fatal error handling
*
* \param msg message to output when this macro is hit.

View File

@@ -29,6 +29,8 @@
namespace ns3 {
/**
* \ingroup Core
*
* \brief hold a so-called 'global value'.
*
* Instances of this class are expected to be allocated as static

View File

@@ -27,6 +27,7 @@
namespace ns3 {
/**
* \ingroup attribute
* \class ns3::IntegerValue
* \brief Hold a signed integer type
*

View File

@@ -28,7 +28,7 @@
/**
* \ingroup core
* \ingroup debugging
* \defgroup logging Logging
* \brief Logging functions and macros
*

View File

@@ -42,6 +42,8 @@ namespace ns3 {
class AttributeList;
/**
* \ingroup object
*
* \brief implement the ns-3 type and attribute system
*
* Every class which wants to integrate in the ns-3 type and attribute

View File

@@ -29,6 +29,8 @@ namespace ns3 {
class AttributeValue;
/**
* \ingroup object
*
* \brief instantiate subclasses of ns3::Object.
*
* This class can also hold a set of attributes to set

View File

@@ -9,6 +9,8 @@
namespace ns3 {
/**
* \ingroup object
*
* \brief contain a vector of ns3::Object pointers.
*
* This class it used to get attribute access to an array of

View File

@@ -39,6 +39,11 @@ class AttributeList;
class TraceSourceAccessor;
/**
* \ingroup core
* \defgroup object Object
*/
/**
* \ingroup object
* \brief a base class which provides memory management and object aggregation
*
*/

View File

@@ -26,6 +26,8 @@
namespace ns3 {
/**
* \ingroup attribute
*
* \brief hold objects of type Ptr<T>
*/
class PointerValue : public AttributeValue

View File

@@ -28,6 +28,12 @@
namespace ns3 {
/**
* \ingroup core
* \defgroup ptr Smart Pointer
*/
/**
* \ingroup ptr
*
* \brief smart pointer class similar to boost::intrusive_ptr
*
* This smart-pointer class assumes that the underlying

View File

@@ -7,6 +7,8 @@
namespace ns3 {
/**
* \ingroup attribute
*
* \class ns3::StringValue
* \brief hold variables of type string
*

View File

@@ -33,6 +33,12 @@ namespace ns3 {
class TestManager;
/**
* \ingroup core
* \defgroup test Test
*/
/**
* \ingroup test
*
* \brief base class for new regressions tests
*
* To add a new regression test, you need to:
@@ -65,6 +71,8 @@ protected:
};
/**
* \ingroup test
*
* \brief gather and run all regression tests
*/
class TestManager {

View File

@@ -29,6 +29,8 @@ namespace ns3 {
class ObjectBase;
/**
* \ingroup tracing
*
* \brief control access to objects' trace sources
*
* This class abstracts the kind of trace source to which we want to connect

View File

@@ -32,6 +32,13 @@
namespace ns3 {
/**
* \ingroup core
* \defgroup tracing Tracing
*/
/**
* \ingroup tracing
*
* \brief trace classes with value semantics
*
* If you want to trace the change of value of a class or

View File

@@ -27,6 +27,8 @@
namespace ns3 {
/**
* \ingroup attribute
*
* \class ns3::UintegerValue
* \brief Hold an unsigned integer type
*

View File

@@ -24,6 +24,9 @@
namespace ns3 {
/**
* \ingroup simulator
*/
class EventImpl
{
public:

View File

@@ -29,6 +29,9 @@ namespace ns3 {
class EventHolder;
/**
* \ingroup scheduler
*/
class HeapScheduler : public Scheduler {
public:
HeapScheduler ();

View File

@@ -31,6 +31,9 @@ namespace ns3 {
class EventImpl;
/**
* \ingroup scheduler
*/
class ListScheduler : public Scheduler {
public:
ListScheduler ();

View File

@@ -30,6 +30,9 @@ namespace ns3 {
class EventImpl;
/**
* \ingroup scheduler
*/
class MapScheduler : public Scheduler {
public:
MapScheduler ();

View File

@@ -60,6 +60,9 @@ precision_t Get (void);
/**
* \ingroup simulator
* \defgroup time Time
*
* \brief keep track of time unit.
*
* This template class is used to keep track of the value

View File

@@ -28,6 +28,9 @@
namespace ns3 {
/**
* \ingroup simulator
* \defgroup scheduler Scheduler
*
* \brief Maintain the event list
*
* This base class specifies the interface used to maintain the

View File

@@ -35,6 +35,8 @@ class SimulatorPrivate;
class SchedulerFactory;
/**
* \ingroup simulator
*
* \brief Control the scheduling of simulation events.
*
* The internal simulation clock is maintained

View File

@@ -30,6 +30,8 @@ namespace ns3 {
class TimerImpl;
/**
* \ingroup simulator
*
* \brief a simple Timer class
*
* A timer is used to hold together a delay, a function to invoke

View File

@@ -27,6 +27,9 @@ namespace ns3 {
class TimerImpl;
/**
* \ingroup simulator
*/
class Watchdog
{
public: