30 #ifndef __IGBLASTN_HPP__
31 #define __IGBLASTN_HPP__
98 virtual void*
Main(
void);
161 virtual void*
Main(
void);
162 virtual void OnExit(
void);
Keeps track of the version of IgBLAST in the NCBI C++ toolkit.
CRef< CSearchResultSet > m_results
CRef< CBlastQueryVector > m_queries
IG_ResultsMap & thm_all_results
CRef< CBlastOptionsHandle > thm_opts_hndl
CRef< CIgBlastArgs > thm_ig_args
CFastMutex & thm_Mutex_Output
CFastMutex & thm_Mutex_Input
CFastMutex & thm_Mutex_Global
CRef< CBlastInput > thm_input
CRef< CLocalDbAdapter > thm_blastdb
virtual void * Main(void)
Derived (user-created) class must provide a real thread function.
virtual void OnExit(void)
Override this to execute finalization code.
CSemaphore & thm_new_batch_done
CIgWorker(const CArgs &args, CRef< CIgBlastnAppArgs > cmd_line_args, CFastMutex &mx_input, CFastMutex &mx_output, CFastMutex &mx_notify, CFastMutex &mx_global, IG_ResultsMap &resmap, int &maxbatch, CRef< CIgBlastArgs > igargs, CRef< CBlastOptionsHandle > opts_hndl, CRef< CLocalDbAdapter > blastdb, CRef< CBlastInput > user_input, int &th_count, CSemaphore &batct_notify, bool &any_started)
CFastMutex & thm_Mutex_Notify
CRef< CIgBlastnAppArgs > thm_CmdLineArgs
int & thm_run_thread_count
size_t m_worker_thread_num
CRef< CIgBlastnAppArgs > m_CmdLineArgs
CBlastUsageReport m_UsageReport
void Run_Formatter_Threads(void)
CFastMutex m_Mutex_Notify
CFastMutex m_Mutex_Output
CRef< CBlastInput > m_input
CFastMutex m_Mutex_Global
IG_ResultsMap m_all_results
void Init_Formatter_Thread(void)
vector< CRef< CIgWorker > > m_workers
virtual void Init()
@inheritDoc
void Init_Worker_Threads(int thread_num)
CRef< CIgBlastArgs > m_ig_args
virtual int Run()
@inheritDoc
std::map< int, CRef< CIgBlastContext > > IG_ResultsMap
CRef< CIgFormatter > m_formatter
CRef< CLocalDbAdapter > m_blastdb
CRef< CLocalDbAdapter > m_blastdb_full
void Join_Worker_Threads(void)
void Run_Worker_Threads(bool is_detached)
CRef< CBlastOptionsHandle > m_opts_hndl
unsigned int x_CountUserBatches(CBlastInputSourceConfig &iconfig, int batch_size=10000)
CRef< CIgBlastOptions > m_ig_opts
CSemaphore m_new_batch_done
CRef< CSraInputSource > m_sra_src
CRef< CQueryOptionsArgs > m_query_opts
CRef< CBlastFastaInputSource > m_fasta
This application's command line args.
CIgBlastnApp()
@inheritDoc
void SetFullVersion(CRef< CVersionAPI > version)
Set version data for the program.