Refine the interactions between the hooks provided by the different modules.
[lttv.git] / ltt / branches / poly / include / lttv / lttv.h
index ad9f3044599e8b6e922fcd8b18ca12becb583311..4f1fda61cfdfd4200521bfb461dffb5c79ca62c6 100644 (file)
@@ -3,36 +3,10 @@
 
 #include "attribute.h"
 
-/* Initial draft by Michel Dagenais May 2003
- * Reworked by Mathieu Desnoyers, May 2003
- */
-
-
 /* The modules in the visualizer communicate with the main module and
-   with each other through attributes. There is a global set of attributes as
-   well as attributes attached to each trace set, trace and tracefile. */
-
-lttv_attributes *lttv_global_attributes();
-
-
-
-/* Modules are allowed to define new command line options.
-
-   Each option has a long name (--long_name), a short one character 
-   name (-c), a descriptive text, the argument type, and a
-   pointer to where the argument value will be stored. For an option of
-   type LTTV_OPT_NONE, the argument is a boolean value set to true when the
-   option is present. */
-
-/* Those are already in option.h, cause conflict */
-//typedef enum _lttv_option_type 
-//{LTTV_OPT_NONE, LTTV_OPT_STRING, LTTV_OPT_INT, LTTV_OPT_LONG } 
-//lttv_option_type;
-
-
-//void lttv_option_add(char *long_name, char char_name, char *description, 
-//                    lttv_option_type t, void *p);
+   with each other through attributes. There is a global set of attributes */
 
+LttvAttributes *lttv_global_attributes();
 
 
 /* A number of global attributes are initialized before modules are
@@ -51,30 +25,9 @@ lttv_attributes *lttv_global_attributes();
    /hooks/options/after
        Read the values set by the command line options.
 
-   /hooks/trace_set/before
-       Before any analysis.
-
-   /hooks/trace_set/after
-       After all traces were analyzed.
-
-   /hooks/trace/before
-       Before each trace.
-
-   /hooks/trace/after
-       After each trace.
-
-   /hooks/tracefile/before
-       Before each tracefile.
-
-   /hooks/tracefile/after
-       After each tracefile.
-
-   /hooks/event
-       Called for each event
+   /hooks/main/before
 
-   /hooks/event_id
-       This attribute contains an lttv_hooks_by_id, where the hooks for each
-       id are to be called when an event of the associated type are found.
+   /hooks/main/after
 
 */
 
This page took 0.023037 seconds and 4 git commands to generate.