📄 mm_aligner_threads.hpp
字号:
/* * =========================================================================== * PRODUCTION $Log: mm_aligner_threads.hpp,v $ * PRODUCTION Revision 1000.0 2003/10/29 19:30:11 gouriano * PRODUCTION PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.3 * PRODUCTION * =========================================================================== */#ifndef ALGO___MM_ALIGNER_THREADS__HPP#define ALGO___MM_ALIGNER_THREADS__HPP/* $Id: mm_aligner_threads.hpp,v 1000.0 2003/10/29 19:30:11 gouriano Exp $* ===========================================================================** PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information* * This software/database is a "United States Government Work" under the * terms of the United States Copyright Act. It was written as part of * the author's official duties as a United States Government employee and * thus cannot be copyrighted. This software/database is freely available * to the public for use. The National Library of Medicine and the U.S. * Government have not placed any restriction on its use or reproduction. * * Although all reasonable efforts have been taken to ensure the accuracy * and reliability of the software and data, the NLM and the U.S. * Government do not and cannot warrant the performance or results that * may be obtained by using this software or data. The NLM and the U.S. * Government disclaim all warranties, express or implied, including * warranties of performance, merchantability or fitness for any particular* purpose. * * Please cite the author in any work or product based on this material. ** ===========================================================================** Author: Yuri Kapustin** File Description: CMMAligner thread classes**/#include <algo/align/mm_aligner.hpp>#include <corelib/ncbithr.hpp>BEGIN_NCBI_SCOPEclass CThreadRunOnTop: public CThread{public: CThreadRunOnTop(const CMMAligner* aligner, const SCoordRect* rect, vector<CNWAligner::TScore>* e, vector<CNWAligner::TScore>* f, vector<CNWAligner::TScore>* g, vector<unsigned char>* trace, bool free_corner_fgap ); virtual void* Main(); virtual void OnExit();protected: virtual ~CThreadRunOnTop() {} const CMMAligner *m_aligner; const SCoordRect *m_rect; vector<CNWAligner::TScore> *m_E, *m_F, *m_G; vector<unsigned char> *m_trace; bool m_free_corner_fgap;};class CThreadDoSM: public CThread{public: CThreadDoSM(CMMAligner* aligner, const SCoordRect* rect, list<CNWAligner::ETranscriptSymbol>::iterator translist_pos, bool free_lt_fgap, bool free_rb_fgap ); virtual void* Main(); virtual void OnExit();protected: virtual ~CThreadDoSM() {} CMMAligner *m_aligner; const SCoordRect *m_rect; list<CNWAligner::ETranscriptSymbol>::iterator m_translist_pos; bool m_free_lt_fgap; bool m_free_rb_fgap;};bool MM_RequestNewThread(const unsigned int max_threads);END_NCBI_SCOPE/* * =========================================================================== * $Log: mm_aligner_threads.hpp,v $ * Revision 1000.0 2003/10/29 19:30:11 gouriano * PRODUCTION: IMPORTED [ORIGINAL] Dev-tree R1.3 * * Revision 1.3 2003/09/03 17:29:20 kapustin * Fix cvs id heading tag * * Revision 1.2 2003/06/17 14:51:04 dicuccio * Fixed after algo/ rearragnement * * Revision 1.1 2003/01/22 13:31:33 kapustin * Initial revision * * =========================================================================== */#endif /* ALGO___MM_ALIGNER_THREADS_HPP */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -