Doxygen files.

This commit is contained in:
Peter D. Barnes, Jr.
2015-05-04 17:55:16 -07:00
parent 5ce6f9786a
commit 0f2f1a7055
45 changed files with 274 additions and 0 deletions

View File

@@ -21,6 +21,12 @@
#ifndef NS_ASSERT_H
#define NS_ASSERT_H
/**
* \file
* \ingroup assert
* Definition of assertion macros NS_ASSERT() and NS_ASSERT_MSG().
*/
/**
* \ingroup debugging
* \defgroup assert Assertions

View File

@@ -28,6 +28,12 @@
namespace ns3 {
/**
* \file
* \ingroup breakpoint
* ns3::BreakpointFallback function implementation.
*/
NS_LOG_COMPONENT_DEFINE ("Breakpoint");
#if defined (HAVE_SIGNAL_H) && defined (SIGTRAP)

View File

@@ -21,6 +21,13 @@
#ifndef BREAKPOINT_H
#define BREAKPOINT_H
/**
* \file
* \ingroup breakpoint
* Definition of NS_BREAKPOINT() macro and ns3::BreakpointFallback
* function declaration.
*/
namespace ns3 {
/* Hacker macro to place breakpoints for selected machines.

View File

@@ -32,6 +32,12 @@
#ifndef CAIRO_WIDEINT_H
#define CAIRO_WIDEINT_H
/**
* \file
* \ingroup highprec
* Declaration of the cairo_x functions which implement high precision arithmetic.
*/
// Adapt to ns-3 environment
#include "ns3/core-config.h"
#define cairo_private

View File

@@ -30,6 +30,12 @@
#include "cairo-wideint-private.h"
/**
* \file
* \ingroup highprec
* Implementation of the cairo_x functions which implement high precision arithmetic.
*/
#if HAVE_UINT64_T
const char * cairo_impl64 = "uint64_t";

View File

@@ -26,6 +26,12 @@
#include "assert.h"
#include "log.h"
/**
* \file
* \ingroup scheduler
* Implementation of ns3::CalendarScheduler class.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("CalendarScheduler");

View File

@@ -25,6 +25,12 @@
#include <stdint.h>
#include <list>
/**
* \file
* \ingroup scheduler
* Declaration of ns3::CalendarScheduler class.
*/
namespace ns3 {
class EventImpl;

View File

@@ -30,6 +30,12 @@
#include "simple-ref-count.h"
#include <typeinfo>
/**
* \file
* \ingroup callback
* Declaration of the various callback functions.
*/
namespace ns3 {
// Define the doxygen subgroups all at once,

View File

@@ -28,6 +28,12 @@
#include <sstream>
/**
* \file
* \ingroup config
* Imlementation of the various ns3::Config functions and classes.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("Config");

View File

@@ -31,6 +31,12 @@
#include <cmath>
/**
* \file
* \ingroup simulator
* Implementation of class ns3::DefaultSimulatorImpl.
*/
namespace ns3 {
// Note: Logging in this file is largely avoided due to the

View File

@@ -31,6 +31,12 @@
#include <list>
/**
* \file
* \ingroup simulator
* Declaration of class ns3::DefaultSimulatorImpl.
*/
namespace ns3 {
/**

View File

@@ -20,6 +20,12 @@
#ifndef EMPTY_H
#define EMPTY_H
/**
* \file
* \ingroup callback
* Definition of class ns3::empty, used by callbacks.
*/
namespace ns3 {
/**
* \brief make Callback use a separate empty type

View File

@@ -29,6 +29,12 @@
#include <cstdlib>
#endif
/**
* \file
* \ingroup core
* ns3::GlobalValue implementation.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("GlobalValue");

View File

@@ -25,6 +25,12 @@
#include "ptr.h"
#include "attribute.h"
/**
* \file
* \ingroup core
* ns3::GlobalValue declaration.
*/
class GlobalValueTestCase;
namespace ns3 {

View File

@@ -25,6 +25,12 @@
#include "assert.h"
#include "log.h"
/**
* \file
* \ingroup scheduler
* Implementation of ns3::HeapScheduler class.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("HeapScheduler");

View File

@@ -25,6 +25,12 @@
#include <stdint.h>
#include <vector>
/**
* \file
* \ingroup scheduler
* Declaration of ns3::HeapScheduler class.
*/
namespace ns3 {
/**

View File

@@ -22,6 +22,12 @@
#include "assert.h"
#include "log.h"
/**
* \file
* \ingroup highprec
* Implementation of the ns3::int64x64_t type using a native int128_t type..
*/
namespace ns3 {
// Note: Logging in this file is largely avoided due to the

View File

@@ -30,6 +30,12 @@ typedef __uint128_t uint128_t;
typedef __int128_t int128_t;
#endif
/**
* \file
* \ingroup highprec
* Declaration of the ns3::int64x64_t type using a native int128_t type..
*/
namespace ns3 {
/**

View File

@@ -30,6 +30,12 @@ extern "C" {
#include "cairo-wideint.c"
}
/**
* \file
* \ingroup highprec
* Implementation of the ns3::int64x64_t type using the Cairo implementation.
*/
namespace ns3 {
// Note: Logging in this file is largely avoided due to the

View File

@@ -25,6 +25,11 @@
#include "cairo-wideint-private.h"
/**
* \file
* \ingroup highprec
* Declaration of the ns3::int64x64_t type using the Cairo implementation.
*/
namespace ns3 {

View File

@@ -25,6 +25,12 @@
#include <cmath> // pow
#include <utility> // pair
/**
* \file
* \ingroup highprec
* Declaration and implementation of the ns3::int64x64_t type
* using the double type.
*/
namespace ns3 {

View File

@@ -25,6 +25,12 @@
#include "assert.h"
#include "log.h"
/**
* \file
* \ingroup highprec
* Implementation of the streaming input and output operators for
* the ns3::int64x64_t type.
*/
namespace ns3 {

View File

@@ -36,6 +36,12 @@
#include <iostream>
/**
* \file
* \ingroup highprec
* Declaration of the ns3::int64x64_t type and associated operators.
*/
namespace ns3 {
/**

View File

@@ -25,6 +25,12 @@
#include <string>
#include "assert.h"
/**
* \file
* \ingroup scheduler
* Implementation of ns3::ListScheduler class.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("ListScheduler");

View File

@@ -26,6 +26,12 @@
#include <utility>
#include <stdint.h>
/**
* \file
* \ingroup scheduler
* Declaration of ns3::ListScheduler class.
*/
namespace ns3 {
class EventImpl;

View File

@@ -21,6 +21,12 @@
#ifndef NS3_LOG_MACROS_ENABLED_H
#define NS3_LOG_MACROS_ENABLED_H
/**
* \file
* \ingroup logging
* Definition of logging macros.
*/
#ifdef NS3_LOG_ENABLE

View File

@@ -25,6 +25,12 @@
#include "log.h"
#include <string>
/**
* \file
* \ingroup scheduler
* Implementation of ns3::MapScheduler class.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("MapScheduler");

View File

@@ -26,6 +26,12 @@
#include <map>
#include <utility>
/**
* \file
* \ingroup scheduler
* Declaration of ns3::MapScheduler class.
*/
namespace ns3 {
/**

View File

@@ -24,6 +24,12 @@
#ifndef MATH_H
#define MATH_H
/**
* \file
* \ingroup core
* Custom version of log2() to deal with \bugid{1467}.
*/
#include <cmath>
#ifdef __FreeBSD__

View File

@@ -23,6 +23,13 @@
#include "abort.h"
#include "names.h"
/**
* \file
* \ingroup config
* Implementation of class ns3::Names, and declaration of classes
* ns3::NamesNode and ns3::NamePriv.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("Names");

View File

@@ -22,6 +22,12 @@
#include "ptr.h"
#include "object.h"
/**
* \file
* \ingroup config
* Declaration of class ns3::Names.
*/
namespace ns3 {
/**

View File

@@ -31,6 +31,13 @@
#include <ostream>
#include <set>
/**
* \file
* \ingroup time
* Declaration of classes ns3::Time and ns3::TimeWithUnit,
* and the TimeValue implementation classes.
*/
namespace ns3 {
class TimeWithUnit;

View File

@@ -21,6 +21,12 @@
#include "log.h"
#include <sstream>
/**
* \file
* \ingroup object
* ns3::ObjectFactory class implementation.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE("ObjectFactory");

View File

@@ -36,6 +36,12 @@
#include <cmath>
#include <iostream>
/**
* \file
* \ingroup randomvariable
* Implementation of ns3::RandomVariableStream and derivatives.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("RandomVariableStream");

View File

@@ -24,6 +24,12 @@
#include "ref-count-base.h"
#include "log.h"
/**
* \file
* \ingroup ptr
* (Deprecated) ns3::RefCountBase implementation.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("RefCountBase");

View File

@@ -25,6 +25,12 @@
#include "simple-ref-count.h"
/**
* \file
* \ingroup ptr
* (Deprecated) ns3::RefCountBase declaration.
*/
namespace ns3 {
/**

View File

@@ -24,6 +24,12 @@
#include "config.h"
#include "log.h"
/**
* \file
* \ingroup randomvariable
* ns3::RngSeedManager implementation.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("RngSeedManager");

View File

@@ -20,6 +20,12 @@
#include "simulator-impl.h"
#include "log.h"
/**
* \file
* \ingroup simulator
* Implementation of class ns3::SimulatorImpl.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("SimulatorImpl");

View File

@@ -28,6 +28,12 @@
#include "object-factory.h"
#include "ptr.h"
/**
* \file
* \ingroup simulator
* Declaration of class ns3::SimulatorImpl.
*/
namespace ns3 {
class Scheduler;

View File

@@ -28,6 +28,12 @@
#include <map>
/**
* \file
* \ingroup testing
* Implementation of the testing classes and functions
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("Test");

View File

@@ -30,6 +30,12 @@
#include "system-wall-clock-ms.h"
/**
* \file
* \ingroup testing
* Definition of the testing macros and declaration of the testing classes.
*/
/**
* \ingroup core
* \defgroup testing Testing

View File

@@ -27,6 +27,13 @@
#include <iomanip> // showpos
#include <sstream>
/**
* \file
* \ingroup time
* Implementation of classes ns3::Time and ns3::TimeWithUnit,
* and the TimeValue implementation classes.
*/
namespace ns3 {
NS_LOG_COMPONENT_DEFINE_MASK ("Time", ns3::LOG_PREFIX_TIME);

View File

@@ -28,6 +28,13 @@
#include <sstream>
#include <iomanip>
/**
* \file
* \ingroup object
* ns3::TypeId and ns3::IidManager implementations.
*/
/*********************************************************************
* Helper code
*********************************************************************/

View File

@@ -30,6 +30,12 @@
#include <string>
#include <stdint.h>
/**
* \file
* \ingroup object
* ns3::TypeId declaration; inline and template implementations.
*/
namespace ns3 {
class ObjectBase;

View File

@@ -20,6 +20,12 @@
#ifndef TYPE_TRAITS_H
#define TYPE_TRAITS_H
/**
* \file
* \ingroup object
* TypeTraits introspection template.
*/
/** Type trait reference values */
template <typename T>
struct TypeTraits