X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8b90a25e740ad0f8014d77fafbe1ebe824e53f09..5969ba39561f1fc29557ebf2c9d38ac8fccdd036:/doc/module-xbt.doc diff --git a/doc/module-xbt.doc b/doc/module-xbt.doc index 5184e5ff35..48502eecd0 100644 --- a/doc/module-xbt.doc +++ b/doc/module-xbt.doc @@ -1,7 +1,7 @@ /** @addtogroup XBT_API * * The XBT functionalities fall into several categories: - * - Portability support. + * - Portability support * - \ref XBT_syscall * - Grounding features * - \ref XBT_ex @@ -20,94 +20,67 @@ * @{ */ + /** @defgroup XBT_grounding Grounding features */ + /** @defgroup XBT_adt Usual data structures */ -/* *************** * - * * PORTABILITY * * - * *************** */ +/** @} */ - /** @defgroup XBT_syscall Malloc and friends - * @brief malloc and associated functions, killing the program on error - */ - -/* ************* * - * * GROUNDING * * - * ************* */ - /** @defgroup XBT_ex Exception support - * @brief A set of macros providing exception a la C++ in ANSI C (grounding feature) - */ - - /** @defgroup XBT_log Logging support - * @brief A generic logging facility in the spirit of log4j (grounding feature) - * @{ - */ - - /** \defgroup XBT_log_cats Existing log categories - * \ingroup XBT_log - * \brief (automatically extracted) - * - * This is the list of all existing log categories in SimGrid. - * This list was automatically extracted from the source code by - * the src/xbt_log_extract_hierarchy utility. - * - * You can thus be certain that it is uptodate, but it may somehow - * lack a final manual touch. - * Anyway, nothing's perfect ;) - */ - - /** @} */ +/* + * +++++++++++++ + * + GROUNDING + + * +++++++++++++ + */ - /** @defgroup XBT_error Assert macro familly - * @brief Those are the GRAS version of the good ol' assert macro. You can pass them a format message and - * arguments, just as if it where a printf. It is converted to a CRITICALn logging request. - */ +/** @addtogroup XBT_grounding + * + * Grounding features are the basement of SimGrid. You'll find portable (and + * secure) wrappers to the malloc-like functions, logging support, error + * reporting features, etc. + * + * @{ + */ + /** @defgroup XBT_syscall Malloc and friends */ + /** @defgroup XBT_ex Exception support */ + /** @defgroup XBT_log Logging support */ + /** @defgroup XBT_error Assert macro familly */ + /** @defgroup XBT_config Configuration support */ - /** @defgroup XBT_config Configuration support - * @brief Changing the configuration of SimGrid components (grounding feature) - */ +/** @} */ -/* **************** * - * * DATA STRUCTS * * - * **************** */ - /** @defgroup XBT_dynar A generic dynamic array - * @brief DynArr are dynamically sized vector which may contain any type of variables. - */ +/* + * ++++++++++++++++ + * + DATA STRUCTS + + * ++++++++++++++++ + */ - /** @defgroup XBT_dict A generic dictionnary - * @brief The dictionnary data structure (comparable to hash tables) - */ - - /** \defgroup XBT_set A generic set datatype - * \brief A data container consisting in \ref XBT_dict and \ref XBT_dynar - */ - - /** \defgroup XBT_fifo A generic workqueue - * \brief This section describes the API to generic workqueue. These functions - * provide the same kind of functionnality as dynamic arrays but in time O(1). - * However these functions use malloc/free way too much often. - */ - - /** @defgroup XBT_swag A O(1) set datatype - * @brief a O(1) set based on linked lists - */ +/** @addtogroup XBT_adt + * + * Here are the basic data containers that every C programmer rewrites one day. + * You won't need to do so yourself, you lucky one, because we did it for you. + * + * @{ + */ + /** @defgroup XBT_dynar Dynar: generic dynamic array */ + /** @defgroup XBT_dict Dict: generic dictionnary */ + /** @defgroup XBT_set Set: generic set datatype */ + /** @defgroup XBT_fifo Fifo: generic workqueue */ + /** @defgroup XBT_swag Swag: O(1) set datatype */ + /** @defgroup XBT_heap Heap: generic heap data structure */ - - /** @defgroup XBT_heap A generic heap data structure - * @brief This section describes the API to generic heap with O(log(n)) access. - */ +/** @} */ End of XBT_adt /* ************************* * - * * PORTABILITY-INTERNALS * * + * * PORTABILITY-INTERNALS * * (not included in documentation) * ************************* */ /** \defgroup XBT_context Portable context implementation * \brief Contexts are a higher level system than setjump/longjmp * for non-preemptible threads. * - * You shouldn't use it directly since it is merly intended to ease the - * implementation of the serveral programmation environment of the - * SimGrid toolkit (nammely, \ref MSG_API, \ref GRAS_API and \ref SMPI_API). + * You shouldn't use it directly since it is merely intended to ease the + * implementation of the several programmation environment of the + * SimGrid toolkit (namely, \ref MSG_API, \ref GRAS_API and \ref SMPI_API). * - * You should use those mechanism instead. + * You should use those environments instead. */ -/** @} */ End of XBT_API