Functions
main.h File Reference

Go to the source code of this file.

Functions

void realmain (const bool have_read_all)
 

Function Documentation

void realmain ( const bool  have_read_all)

Definition at line 962 of file main.cxx.

References draw_event_from_timer(), get_event(), ghave_read_all, prefetching, set_eventn_status_runevent(), and setup().

Referenced by noe::noe::endJob(), and noe::noe::produce().

963 {
964  if(have_read_all) ghave_read_all = true;
965  static bool first = true;
966  if(first){
967  first = false;
968  setup();
969  }
970  else if(prefetching){
972  prefetching = false;
973  }
974  else{
975  get_event(1);
976  g_timeout_add(0, draw_event_from_timer, NULL);
977  }
978  gtk_main();
979 }
static bool prefetching
Definition: main.cxx:102
bool ghave_read_all
Definition: main.cxx:101
static void setup()
Definition: main.cxx:808
static gboolean draw_event_from_timer(__attribute__((unused)) gpointer data)
Definition: main.cxx:335
void set_eventn_status_runevent()
Definition: status.cxx:42
static bool get_event(const int change)
Definition: main.cxx:349