updates to the low lev trace reading API
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 5 Aug 2008 15:14:48 +0000 (15:14 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 5 Aug 2008 15:14:48 +0000 (15:14 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2982 04897980-b3bd-0310-b5e0-8ef037075253

trunk/masters-pmf/3rd_gen_viewer/3rd_gen_viewer_arch.lyx

index 4bc2ab77542c9f94c9c25b63654262b8a309b1c9..ebc96bf66862abaf3b80f100ebe8594ee1dcacc5 100644 (file)
@@ -289,7 +289,7 @@ Factory methods
 \end_layout
 
 \begin_layout Itemize
-get_supported_formats()
+void get_supported_formats(void)
 \end_layout
 
 \begin_deeper
@@ -352,11 +352,11 @@ Trace methods
 \end_layout
 
 \begin_layout Itemize
-close()
+bool close(struct trace *tr)
 \end_layout
 
 \begin_layout Itemize
-current_event()
+struct event *current_event(struct trace *)
 \end_layout
 
 \begin_deeper
@@ -374,7 +374,7 @@ the event currently pointed by the position pointer
 
 \end_deeper
 \begin_layout Itemize
-advance()
+bool advance(struct trace *tr)
 \end_layout
 
 \begin_deeper
@@ -410,7 +410,7 @@ No more events for now (end of a still running live trace)
 \end_deeper
 \end_deeper
 \begin_layout Itemize
-seek_time()
+bool seek_time(struct trace *tr, struct trace_cursor *cur)
 \end_layout
 
 \begin_deeper
@@ -428,19 +428,25 @@ Return: none
 
 \end_deeper
 \begin_layout Itemize
-get_position_handle()
+struct trace_cursor *trace_new_cursor_beginning(struct trace *tr)
 \end_layout
 
+\begin_deeper
+\begin_layout Standard
+Return a new cursor associated to the trace, positioned at its beginning
+\end_layout
+
+\end_deeper
 \begin_layout Itemize
-seek_to_position_handle()
+struct trace_cursor *trace_cursor_copy(struct trace_cursor *cur)
 \end_layout
 
 \begin_layout Itemize
-destroy_position_handle()
+void trace_cursor_destroy(struct trace_cursor_destroy *)
 \end_layout
 
 \begin_layout Itemize
-get_time_start()
+struct trace_time get_time_start(struct trace *tr)
 \end_layout
 
 \begin_deeper
@@ -458,7 +464,7 @@ the timestamp of the first event in the trace
 
 \end_deeper
 \begin_layout Itemize
-get_time_end()
+struct trace_time get_time_end(struct trace *tr)
 \end_layout
 
 \begin_deeper
@@ -476,7 +482,8 @@ the timestamp of the last event in the trace
 
 \end_deeper
 \begin_layout Itemize
-register_callback_new_event()
+register_callback_new_event(struct trace *tr, struct trace_time after, void
+ (*cb)(void))
 \end_layout
 
 \begin_deeper
@@ -497,7 +504,7 @@ after
 \end_layout
 
 \begin_layout Itemize
-the callback function
+cb: the callback function
 \begin_inset Note Note
 status open
 
This page took 0.025466 seconds and 4 git commands to generate.