/Users/huttone/Devel/sedflux-new/sedflux/trunk/ew/utils/eh_status_bar.h File Reference

#include <glib.h>

Go to the source code of this file.

Classes

struct  Eh_status_bar

Enumerations

enum  Eh_status_bar_status { EH_STATUS_BAR_RUNNING, EH_STATUS_BAR_PAUSED, EH_STATUS_BAR_STOPPED }

Functions

Eh_status_bareh_status_bar_new (double *cur, double *end)
Eh_status_bareh_status_bar_stop (Eh_status_bar *b)
gboolean eh_status_bar_is_stopped (Eh_status_bar *b)
Eh_status_bareh_status_bar_pause (Eh_status_bar *b)
Eh_status_bareh_status_bar_destroy (Eh_status_bar *b)
gchar * eh_render_time_str (double sec)


Enumeration Type Documentation

enum Eh_status_bar_status

Enumerator:
EH_STATUS_BAR_RUNNING 
EH_STATUS_BAR_PAUSED 
EH_STATUS_BAR_STOPPED 

Definition at line 6 of file eh_status_bar.h.


Function Documentation

gchar* eh_render_time_str ( double  sec  ) 

Definition at line 126 of file eh_status_bar.c.

References EH_SECONDS_PER_DAY, EH_SECONDS_PER_HOUR, and EH_SECONDS_PER_MINUTE.

Referenced by print_status(), and sed_process_summary().

Eh_status_bar* eh_status_bar_destroy ( Eh_status_bar b  ) 

Definition at line 53 of file eh_status_bar.c.

References eh_free, eh_status_bar_stop(), Eh_status_bar::mutex, Eh_status_bar::t, and Eh_status_bar::timer.

Referenced by avulsion_full().

gboolean eh_status_bar_is_stopped ( Eh_status_bar b  ) 

Definition at line 41 of file eh_status_bar.c.

References EH_STATUS_BAR_STOPPED, Eh_status_bar::mutex, and Eh_status_bar::status.

Referenced by print_status().

Eh_status_bar* eh_status_bar_new ( double *  cur,
double *  end 
)

Definition at line 6 of file eh_status_bar.c.

References Eh_status_bar::cur, eh_new, EH_STATUS_BAR_RUNNING, Eh_status_bar::end, Eh_status_bar::mutex, print_status(), Eh_status_bar::status, Eh_status_bar::t, and Eh_status_bar::timer.

Referenced by avulsion_full().

Eh_status_bar* eh_status_bar_pause ( Eh_status_bar b  ) 

Definition at line 32 of file eh_status_bar.c.

References EH_STATUS_BAR_PAUSED, Eh_status_bar::mutex, and Eh_status_bar::status.

Eh_status_bar* eh_status_bar_stop ( Eh_status_bar b  ) 

Definition at line 22 of file eh_status_bar.c.

References EH_STATUS_BAR_STOPPED, Eh_status_bar::mutex, and Eh_status_bar::status.

Referenced by eh_status_bar_destroy().


Generated on Fri Jan 4 18:04:19 2008 for sedflux by  doxygen 1.5.2