source: tags/svn.1.5.4/PARSIMONY/pars_dtree.hxx

Last change on this file was 7186, checked in by westram, 13 years ago

merges [7097] [7098] [7100] [7101] [7102] [7103] [7105] from refactor

  • use arb_progress instead of aw_openstatus, aw_closestatus and aw_status
    • allows nested progress bars
    • avoids repeatedly popping up progress bars
    • avoids passing down info about progress to callees or bookkeeping it in method-objects and similar
    • removed many useless status messages (e.g. those that were only visible for ms)
    • corrected incrementation / limit for many progress bars (esp. matrix-calculations, parsimony)
  • hide aw_open/close/status inside libAW
  • hide rests of GB_status inside libCORE
  • replaced ARB_null_status by arb_suppress_progress
    • suppress progress display in unit-tests
  • added GBT_count_alignments
  • stuffed a few memleaks on the way
  • disabled some deprecation warnings
  • use arb_progress in ptserver
  • avoid zero progress in GDE export
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : pars_dtree.hxx                                    //
4//   Purpose   :                                                   //
5//                                                                 //
6//   Institute of Microbiology (Technical University Munich)       //
7//   http://www.arb-home.de/                                       //
8//                                                                 //
9// =============================================================== //
10
11#ifndef PARS_DTREE_HXX
12#define PARS_DTREE_HXX
13
14#ifndef TREEDISPLAY_HXX
15#include <TreeDisplay.hxx>
16#endif
17
18class arb_progress;
19
20class AWT_graphic_parsimony : public AWT_graphic_tree {
21    virtual AW_gc_manager init_devices(AW_window *, AW_device *, AWT_canvas *ntw, AW_CL cd2);
22    /* init gcs, if any gc is changed you may call
23       AWT_expose_cb(aw_window,ntw,cd2);
24       or AWT_resize_cb(aw_window,ntw,cd2);
25       The function may return a pointer to a preset window */
26
27
28    virtual void show(AW_device *device);
29    virtual void command(AW_device *device, AWT_COMMAND_MODE cmd, int button, AW_key_mod key_modifier, AW_key_code key_code, char key_char,
30                         AW_event_type type, AW_pos x, AW_pos y,
31                         AW_clicked_line *cl, AW_clicked_text *ct);
32public:
33    AWT_graphic_parsimony(AW_root *root, GBDATA *gb_main, AD_map_viewer_cb map_viewer_cb);
34
35};
36
37void PARS_tree_init(AWT_graphic_tree *agt);
38void PARS_optimizer_cb(AP_tree *tree, arb_progress& progress);
39
40#else
41#error pars_dtree.hxx included twice
42#endif // PARS_DTREE_HXX
Note: See TracBrowser for help on using the repository browser.