6 /* Initial draft by Michel Dagenais May 2003
7 * Reworked by Mathieu Desnoyers, May 2003
11 /* The modules in the visualizer communicate with the main module and
12 with each other through attributes. There is a global set of attributes as
13 well as attributes attached to each trace set, trace and tracefile. */
15 lttv_attributes
*lttv_global_attributes();
19 /* Modules are allowed to define new command line options.
21 Each option has a long name (--long_name), a short one character
22 name (-c), a descriptive text, the argument type, and a
23 pointer to where the argument value will be stored. For an option of
24 type LTTV_OPT_NONE, the argument is a boolean value set to true when the
27 /* Those are already in option.h, cause conflict */
28 //typedef enum _lttv_option_type
29 //{LTTV_OPT_NONE, LTTV_OPT_STRING, LTTV_OPT_INT, LTTV_OPT_LONG }
33 //void lttv_option_add(char *long_name, char char_name, char *description,
34 // lttv_option_type t, void *p);
38 /* A number of global attributes are initialized before modules are
39 loaded, for example hooks lists. More global attributes are defined
40 in individual mudules to store information or to communicate with other
41 modules (GUI windows, menus...).
43 The hooks lists (lttv_hooks) are initialized in the main module and may be
44 used by other modules. Each corresponds to a specific location in the main
45 module processing loop. The attribute key and typical usage for each
49 Good place to define new command line options to be parsed.
52 Read the values set by the command line options.
54 /hooks/trace_set/before
57 /hooks/trace_set/after
58 After all traces were analyzed.
66 /hooks/tracefile/before
67 Before each tracefile.
69 /hooks/tracefile/after
76 This attribute contains an lttv_hooks_by_id, where the hooks for each
77 id are to be called when an event of the associated type are found.
This page took 0.029744 seconds and 4 git commands to generate.