ARB
Public Member Functions | List of all members
ED4_manager Class Reference

#include <ed4_class.hxx>

Inheritance diagram for ED4_manager:
Inheritance graph
[legend]
Collaboration diagram for ED4_manager:
Collaboration graph
[legend]

Public Member Functions

 E4B_AVOID_UNNEEDED_CASTS (manager)
 
 DECLARE_DUMP_FOR_BASECLASS (ED4_manager, ED4_base)
 
void add_delete_callback (const ED4_managerCallback &cb)
 
void remove_delete_callback (const ED4_managerCallback &cb)
 
int refresh_flag_ok ()
 
void changed_by_database () OVERRIDE
 
void deleted_from_database () OVERRIDE
 
void Show (bool refresh_all, bool is_cleared) OVERRIDE
 
bool calc_bounding_box () FINAL_OVERRIDE
 
ED4_returncode distribute_children ()
 
ED4_returncode event_sent_by_parent (AW_event *event, AW_window *aww) FINAL_OVERRIDE
 
void request_refresh (int clear=1) FINAL_OVERRIDE
 
ED4_returncode clear_refresh ()
 
void resize_requested_children () OVERRIDE
 
void update_requested_children () OVERRIDE
 
void delete_requested_children () OVERRIDE
 
void Delete () FINAL_OVERRIDE
 
ED4_returncode move_requested_by_parent (ED4_move_info *mi)
 
void create_consensus (ED4_abstract_group_manager *upper_group_manager, arb_progress *progress)
 
ARB_ERROR route_down_hierarchy (const ED4_route_cb &cb) FINAL_OVERRIDE
 
ED4_basefind_first_that (ED4_level level, const ED4_basePredicate &fulfills_predicate)
 
ED4_returncode move_requested_by_child (ED4_move_info *moveinfo)
 
void resize_requested_by_child ()
 
ED4_returncode refresh_requested_by_child ()
 
void delete_requested_by_child ()
 
void update_requested_by_child ()
 
ED4_baseget_defined_level (ED4_level lev) const
 
void update_consensus (ED4_manager *old_parent, ED4_manager *new_parent, ED4_base *sequence)
 
ED4_returncode rebuild_consensi (ED4_base *start_species, ED4_update_flag update_flag)
 
ED4_returncode check_in_bases (ED4_base *added_base)
 
ED4_returncode check_out_bases (ED4_base *subbed_base)
 
ED4_returncode update_bases (const ED4_base *old_base, const ED4_base *new_base, PosRange range=PosRange::whole())
 
ED4_returncode update_bases (const char *old_seq, int old_len, const char *new_seq, int new_len, PosRange range=PosRange::whole())
 
ED4_returncode update_bases (const char *old_seq, int old_len, const ED4_base *new_base, PosRange range=PosRange::whole())
 
ED4_returncode update_bases (const BaseFrequencies *old_table, const BaseFrequencies *new_table, PosRange range=PosRange::whole())
 
ED4_returncode update_bases_and_rebuild_consensi (const char *old_seq, int old_len, ED4_base *species, ED4_update_flag update_flag, PosRange range=PosRange::whole())
 
ED4_returncode handle_move (ED4_move_info *moveinfo)
 
ED4_baseget_competent_child (AW_pos x, AW_pos y, ED4_properties relevant_prop)
 
ED4_baseget_competent_clicked_child (AW_pos x, AW_pos y, ED4_properties relevant_prop)
 
ED4_basesearch_spec_child_rek (ED4_level level)
 
ED4_basesearch_ID (const char *id) FINAL_OVERRIDE
 
void remove_callbacks () OVERRIDE
 
ED4_terminalget_first_terminal (int start_index=0) const
 
ED4_terminalget_last_terminal (int start_index=-1) const
 
void hide_children ()
 
void unhide_children ()
 
bool is_hidden () const FINAL_OVERRIDE
 
 ED4_manager (const ED4_objspec &spec_, const char *id, AW_pos width, AW_pos height, ED4_manager *parent)
 
 ~ED4_manager () OVERRIDE
 
- Public Member Functions inherited from ED4_base
void draw_bb (int color)
 
 DECLARE_DUMP_FOR_ROOTCLASS (ED4_base)
 
GBDATAget_species_pointer () const
 
void set_species_pointer (GBDATA *gbd)
 
bool has_callback () const
 
int adjust_clipping_rectangle ()
 
void resize_dynamic ()
 
ED4_returncode clear_background (int color=0)
 
void set_links (ED4_base *width_ref, ED4_base *height_ref)
 
void set_both_links (ED4_base *ref)
 
void set_property (ED4_properties prop)
 
void clr_property (ED4_properties prop)
 
bool has_property (ED4_properties prop) const
 
void calc_rel_coords (AW_pos *x, AW_pos *y)
 
void calc_world_coords (AW_pos *x, AW_pos *y) const
 
const AW::Positioncalc_world_coords () const
 
void update_world_coords_cache () const
 
AW::Rectangle get_win_area (ED4_window *ed4w) const
 
void request_resize ()
 
void request_resize_of_linked ()
 
void resize_requested_by_link (ED4_base *link)
 
void set_update ()
 
int calc_group_depth ()
 
void check_all ()
 
short in_border (AW_pos abs_x, AW_pos abs_y, ED4_movemode mode)
 
ED4_returncode set_width ()
 
ED4_AREA_LEVEL get_area_level (ED4_multi_species_manager **multi_species_manager=NULp) const
 
ED4_managerget_parent (ED4_level lev) const
 
void unlink_from_parent ()
 
bool has_parent (ED4_manager *Parent)
 
bool is_child_of (ED4_manager *Parent)
 
virtual charresolve_pointer_to_string_copy (int *str_len=NULp) const
 
virtual const charresolve_pointer_to_char_pntr (int *str_len=NULp) const
 
ED4_group_manageris_in_folded_group () const
 
charget_name_of_species ()
 
ED4_terminalget_next_terminal ()
 
ED4_terminalget_prev_terminal ()
 
void generate_configuration_string (GBS_strstruct &buffer)
 
const ED4_terminalget_consensus_relevant_terminal () const
 
 ED4_base (const ED4_objspec &spec_, GB_CSTR id, AW_pos width, AW_pos height, ED4_manager *parent)
 
virtual ~ED4_base ()
 
int is_terminal () const
 
int is_text_terminal () const
 
int is_species_name_terminal () const
 
int is_sequence_info_terminal () const
 
int is_sequence_terminal () const
 
int is_orf_terminal () const
 
int is_pure_text_terminal () const
 
int is_columnStat_terminal () const
 
int is_bracket_terminal () const
 
int is_spacer_terminal () const
 
int is_line_terminal () const
 
int is_flag_header_terminal () const
 
int is_flag_terminal () const
 
int is_manager () const
 
int is_sequence_manager () const
 
int is_multi_name_manager () const
 
int is_name_manager () const
 
int is_multi_species_manager () const
 
int is_multi_sequence_manager () const
 
int is_device_manager () const
 
int is_group_manager () const
 
int is_root_group_manager () const
 
int is_abstract_group_manager () const
 
int is_species_manager () const
 
int is_area_manager () const
 
 E4B_DECL_CASTOP (area_manager)
 
 E4B_DECL_CASTOP (abstract_group_manager)
 
 E4B_DECL_CASTOP (bracket_terminal)
 
 E4B_DECL_CASTOP (columnStat_terminal)
 
 E4B_DECL_CASTOP (consensus_sequence_terminal)
 
 E4B_DECL_CASTOP (device_manager)
 
 E4B_DECL_CASTOP (group_manager)
 
 E4B_DECL_CASTOP (line_terminal)
 
 E4B_DECL_CASTOP (manager)
 
 E4B_DECL_CASTOP (multi_name_manager)
 
 E4B_DECL_CASTOP (multi_sequence_manager)
 
 E4B_DECL_CASTOP (multi_species_manager)
 
 E4B_DECL_CASTOP (name_manager)
 
 E4B_DECL_CASTOP (orf_terminal)
 
 E4B_DECL_CASTOP (pure_text_terminal)
 
 E4B_DECL_CASTOP (root_group_manager)
 
 E4B_DECL_CASTOP (sequence_info_terminal)
 
 E4B_DECL_CASTOP (sequence_manager)
 
 E4B_DECL_CASTOP (sequence_terminal)
 
 E4B_DECL_CASTOP (spacer_terminal)
 
 E4B_DECL_CASTOP (species_manager)
 
 E4B_DECL_CASTOP (species_name_terminal)
 
 E4B_DECL_CASTOP (terminal)
 
 E4B_DECL_CASTOP (text_terminal)
 
 E4B_DECL_CASTOP (flag_header_terminal)
 
 E4B_DECL_CASTOP (flag_terminal)
 
ED4_species_manager * containing_species_manager () const
 
bool is_consensus_manager () const
 
bool is_SAI_manager () const
 
bool is_species_seq_manager () const
 
ED4_species_type get_species_type () const
 
bool inside_consensus_manager () const
 
bool inside_SAI_manager () const
 
bool inside_species_seq_manager () const
 
bool is_consensus_terminal () const
 
bool is_SAI_terminal () const
 
bool is_species_seq_terminal () const
 
bool is_consensus_sequence_terminal () const
 
- Public Member Functions inherited from ED4_container
ED4_managerowner ()
 
const ED4_managerowner () const
 
ED4_basemember (ED4_index i) const
 
ED4_index members () const
 
bool empty () const
 
void clear ()
 
void insert_member (ED4_base *new_member)
 
void append_member (ED4_base *new_member)
 
ED4_returncode remove_member (ED4_base *member)
 
ED4_index search_member (ED4_extension *location, ED4_properties prop)
 
ED4_returncode search_target_species (ED4_extension *location, ED4_properties prop, ED4_base **found_member, ED4_level return_level)
 
ED4_returncode move_member (ED4_index old_pos, ED4_index new_pos)
 
bool members_ok () const
 
 ED4_container ()
 
virtual ~ED4_container ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ED4_base
static void touch_world_cache ()
 
- Public Attributes inherited from ED4_base
const ED4_objspecspec
 
ED4_managerparent
 
ED4_properties dynamic_prop
 
charid
 
ED4_index index
 
ED4_basewidth_link
 
ED4_baseheight_link
 
ED4_extension extension
 
ED4_update_info update_info
 
struct {
   unsigned int   hidden: 1
 
flag
 
- Protected Member Functions inherited from ED4_container
bool valid_index (ED4_index idx) const
 
bool existing_index (ED4_index idx) const
 

Detailed Description

Definition at line 1190 of file ed4_class.hxx.

Constructor & Destructor Documentation

ED4_manager::ED4_manager ( const ED4_objspec spec_,
const char id,
AW_pos  width,
AW_pos  height,
ED4_manager parent 
)

Definition at line 1213 of file ED4_manager.cxx.

ED4_manager::~ED4_manager ( )

Definition at line 1217 of file ED4_manager.cxx.

References ED4_container::clear().

Member Function Documentation

ED4_manager::E4B_AVOID_UNNEEDED_CASTS ( manager  )
ED4_manager::DECLARE_DUMP_FOR_BASECLASS ( ED4_manager  ,
ED4_base   
)
void ED4_manager::add_delete_callback ( const ED4_managerCallback &  cb)
inline

Definition at line 1197 of file ed4_class.hxx.

References ED4_cb_list< BASE, BASECB >::add_cb().

Referenced by ED4_reference::define().

void ED4_manager::remove_delete_callback ( const ED4_managerCallback &  cb)
inline

Definition at line 1198 of file ed4_class.hxx.

References ED4_cb_list< BASE, BASECB >::remove_cb().

Referenced by ED4_reference::clear().

int ED4_manager::refresh_flag_ok ( )
void ED4_manager::changed_by_database ( )
virtual

Reimplemented from ED4_base.

Definition at line 34 of file ED4_base.cxx.

References request_refresh().

void ED4_manager::deleted_from_database ( )
virtual
void ED4_manager::Show ( bool  refresh_all,
bool  is_cleared 
)
virtual
bool ED4_manager::calc_bounding_box ( )
virtual
ED4_returncode ED4_manager::distribute_children ( )
ED4_returncode ED4_manager::event_sent_by_parent ( AW_event event,
AW_window aww 
)
virtual
void ED4_manager::request_refresh ( int  clear = 1)
virtual
ED4_returncode ED4_manager::clear_refresh ( )
void ED4_manager::resize_requested_children ( )
virtual
void ED4_manager::update_requested_children ( )
virtual
void ED4_manager::delete_requested_children ( )
virtual
void ED4_manager::Delete ( )
virtual
ED4_returncode ED4_manager::move_requested_by_parent ( ED4_move_info mi)
void ED4_manager::create_consensus ( ED4_abstract_group_manager upper_group_manager,
arb_progress progress 
)
ARB_ERROR ED4_manager::route_down_hierarchy ( const ED4_route_cb &  cb)
virtual
ED4_base * ED4_manager::find_first_that ( ED4_level  level,
const ED4_basePredicate &  fulfills_predicate 
)
ED4_returncode ED4_manager::move_requested_by_child ( ED4_move_info moveinfo)
void ED4_manager::resize_requested_by_child ( )
inline
ED4_returncode ED4_manager::refresh_requested_by_child ( )
void ED4_manager::delete_requested_by_child ( )
void ED4_manager::update_requested_by_child ( )
ED4_base * ED4_manager::get_defined_level ( ED4_level  lev) const
void ED4_manager::update_consensus ( ED4_manager old_parent,
ED4_manager new_parent,
ED4_base sequence 
)

Definition at line 395 of file ED4_manager.cxx.

References check_in_bases(), and check_out_bases().

Referenced by deleted_from_database(), handle_move(), and remove_from_consensus().

ED4_returncode ED4_manager::rebuild_consensi ( ED4_base start_species,
ED4_update_flag  update_flag 
)
ED4_returncode ED4_manager::check_in_bases ( ED4_base added_base)
ED4_returncode ED4_manager::check_out_bases ( ED4_base subbed_base)
ED4_returncode ED4_manager::update_bases ( const ED4_base old_base,
const ED4_base new_base,
PosRange  range = PosRange::whole() 
)
ED4_returncode ED4_manager::update_bases ( const char old_seq,
int  old_len,
const char new_seq,
int  new_len,
PosRange  range = PosRange::whole() 
)
ED4_returncode ED4_manager::update_bases ( const char old_seq,
int  old_len,
const ED4_base new_base,
PosRange  range = PosRange::whole() 
)
ED4_returncode ED4_manager::update_bases ( const BaseFrequencies old_table,
const BaseFrequencies new_table,
PosRange  range = PosRange::whole() 
)
ED4_returncode ED4_manager::update_bases_and_rebuild_consensi ( const char old_seq,
int  old_len,
ED4_base species,
ED4_update_flag  update_flag,
PosRange  range = PosRange::whole() 
)
ED4_returncode ED4_manager::handle_move ( ED4_move_info moveinfo)
ED4_base * ED4_manager::get_competent_child ( AW_pos  x,
AW_pos  y,
ED4_properties  relevant_prop 
)
ED4_base * ED4_manager::get_competent_clicked_child ( AW_pos  x,
AW_pos  y,
ED4_properties  relevant_prop 
)
ED4_base * ED4_manager::search_spec_child_rek ( ED4_level  level)
ED4_base * ED4_manager::search_ID ( const char id)
virtual

Implements ED4_base.

Definition at line 1200 of file ED4_manager.cxx.

References ED4_container::existing_index(), ED4_container::member(), NULp, and ED4_base::search_ID().

Referenced by add_area_for_gde().

void ED4_manager::remove_callbacks ( )
virtual
ED4_terminal * ED4_manager::get_first_terminal ( int  start_index = 0) const
ED4_terminal * ED4_manager::get_last_terminal ( int  start_index = -1) const
void ED4_manager::hide_children ( )
void ED4_manager::unhide_children ( )
bool ED4_manager::is_hidden ( ) const
inlinevirtual

Implements ED4_base.

Definition at line 1273 of file ed4_class.hxx.

References is_hidden(), and ED4_base::parent.

Referenced by is_hidden(), and ED4_terminal::is_hidden().


The documentation for this class was generated from the following files: