root/trunk/FRII/cartwheel-interface/ParsedPairwiseAnalysis.hh

Revision 10, 1.7 kB (checked in by t, 3 years ago)

Tailorization
Import of the upstream sources from

Repository: :pserver:anonymous@cvs.sf.net:/cvsroot/familyjewels

Kind: cvs

Module: FRII

Revision: 2005-12-09 09:00:54 by titus

Original author: tailor@vallista.idyll.org
Date: 2005-12-09 09:00:54

Line 
1 /*
2  * This file is part of the FamilyRelations II source distribution.
3  *
4  * FamilyRelations II is part of the FamilyJewels package for comparative
5  * sequence analysis: http://family.caltech.edu/.
6  *
7  * Contact author: C. Titus Brown, titus@caltech.edu.
8  *
9  * This program and all associated source code files are Copyright (C) 2003,
10  * 2004 the California Institute of Technology, Pasadena, CA, 91125 USA.  It
11  * is under the Lesser GNU Public License; please see the included
12  * LICENSE.txt file for more information, or contact Titus directly.
13  *
14  */
15
16 //
17 // ParsedPairwiseAnalysis is a virtual base class for a hierarchy of
18 // that convert between the IFF format (see sister.c++) and the objects
19 // displayed by the various GUI classes.  It handles features that map
20 // between two sequences.
21 //
22 // The functions supported by all ParsedPairwiseanalysis descendants provide
23 // a way to get:
24 //
25 //    * a list of features, for display between sequence views;
26 //    * a full-sized control panel.
27 //
28 // See ParsedSingleAnalysis for a class for single sequence features.
29 //
30
31 #ifndef PARSED_PAIRWISE_ANALYSIS_HH
32 #define PARSED_PAIRWISE_ANALYSIS_HH
33
34 #include "MappingContainer.hh"
35
36 //
37 // ParsedPairwiseAnalysis
38 //
39
40 class ParsedPairwiseAnalysis {
41 protected:
42   // prevent creation except by inheritance
43   ParsedPairwiseAnalysis() { };
44
45   // destructor
46   virtual ~ParsedPairwiseAnalysis() { };
47 public:
48  
49   // Get a gui::MappingContainer object describing the features in this
50   // analysis.
51   virtual gui::MappingContainer * get_mapping_container() = 0;
52
53   // Set up a full-sized control panel, suitable for e.g. the FRII
54   // pairwise main screen.
55   virtual void add_control_panel(Fl_Group *, int&, int&, const int) = 0;
56 };
57
58 #endif // PARSED_PAIRWISE_ANALYSIS_HH
59
Note: See TracBrowser for help on using the browser.