git-svn-id: http://ltt.polymtl.ca/svn@312 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git] / ltt / branches / poly / include / lttv / traceset.h
1 #ifndef TRACESET_H
2 #define TRACESET_H
3
4 #include <lttv/attribute.h>
5 #include <lttv/hook.h>
6 #include <ltt/ltt.h>
7
8 /* A traceset is a set of traces to be analyzed together. */
9
10 typedef struct _LttvTraceset LttvTraceset;
11
12 typedef struct _LttvTrace LttvTrace;
13
14 /* Tracesets may be added to, removed from and their content listed. */
15
16 LttvTraceset *lttv_traceset_new();
17
18 LttvTrace *lttv_trace_new(LttTrace *t);
19
20 LttvTraceset *lttv_traceset_copy(LttvTraceset *s_orig);
21
22 LttvTraceset *lttv_traceset_load(const gchar *filename);
23
24 gint lttv_traceset_save(LttvTraceset *s);
25
26 void lttv_traceset_destroy(LttvTraceset *s);
27
28 void lttv_trace_destroy(LttvTrace *t);
29
30 void lttv_traceset_add(LttvTraceset *s, LttvTrace *t);
31
32 unsigned lttv_traceset_number(LttvTraceset *s);
33
34 LttvTrace *lttv_traceset_get(LttvTraceset *s, unsigned i);
35
36 void lttv_traceset_remove(LttvTraceset *s, unsigned i);
37
38 /* An attributes table is attached to the set and to each trace in the set. */
39
40 LttvAttribute *lttv_traceset_attribute(LttvTraceset *s);
41
42 LttvAttribute *lttv_trace_attribute(LttvTrace *t);
43
44 LttTrace *lttv_trace(LttvTrace *t);
45
46 guint lttv_trace_get_ref_number(LttvTrace * t);
47
48 #endif // TRACESET_H
49
This page took 0.056503 seconds and 4 git commands to generate.