NCBI C++ ToolKit
Public Member Functions | Protected Attributes | List of all members
CInterruptable Class Reference

Search Toolkit Book for CInterruptable

#include <objtools/writers/writer.hpp>

+ Inheritance diagram for CInterruptable:
+ Collaboration diagram for CInterruptable:

Public Member Functions

 CInterruptable ()
 
virtual ~CInterruptable ()
 
void SetCanceler (ICanceled *pCanceller)
 
bool IsCanceled () const
 
- Public Member Functions inherited from ICanceled
virtual ~ICanceled ()
 

Protected Attributes

ICanceledmpCancelled
 

Detailed Description

Definition at line 53 of file writer.hpp.

Constructor & Destructor Documentation

◆ CInterruptable()

CInterruptable::CInterruptable ( )
inline

Definition at line 56 of file writer.hpp.

◆ ~CInterruptable()

virtual CInterruptable::~CInterruptable ( )
inlinevirtual

Definition at line 57 of file writer.hpp.

Member Function Documentation

◆ IsCanceled()

bool CInterruptable::IsCanceled ( void  ) const
inlinevirtual

◆ SetCanceler()

void CInterruptable::SetCanceler ( ICanceled pCanceller)
inline

Definition at line 59 of file writer.hpp.

References mpCancelled.

Referenced by CAsn2FastaApp::HandleSeqEntry(), CWiggleExportJob::Run(), and CAnnotWriterApp::Run().

Member Data Documentation

◆ mpCancelled

ICanceled* CInterruptable::mpCancelled
protected

Definition at line 70 of file writer.hpp.

Referenced by IsCanceled(), and SetCanceler().


The documentation for this class was generated from the following file:
Modified on Tue Dec 05 02:17:39 2023 by modify_doxy.py rev. 669887