ProteoWizard
Public Member Functions | Public Attributes | List of all members
SimpleProgressCallback Struct Reference
Inheritance diagram for SimpleProgressCallback:
pwiz::analysis::MSDataAnalyzerDriver::ProgressCallback

Public Member Functions

 SimpleProgressCallback ()
 
virtual size_t iterationsPerCallback () const
 
virtual MSDataAnalyzerDriver::Status progress (size_t index, size_t size)
 
- Public Member Functions inherited from pwiz::analysis::MSDataAnalyzerDriver::ProgressCallback
virtual ~ProgressCallback ()
 

Public Attributes

size_t count
 

Detailed Description

Definition at line 75 of file MSDataAnalyzerTest.cpp.

Constructor & Destructor Documentation

§ SimpleProgressCallback()

SimpleProgressCallback::SimpleProgressCallback ( )
inline

Definition at line 79 of file MSDataAnalyzerTest.cpp.

Member Function Documentation

§ iterationsPerCallback()

virtual size_t SimpleProgressCallback::iterationsPerCallback ( ) const
inlinevirtual

Reimplemented from pwiz::analysis::MSDataAnalyzerDriver::ProgressCallback.

Definition at line 81 of file MSDataAnalyzerTest.cpp.

Referenced by test().

81 {return 5;}

§ progress()

virtual MSDataAnalyzerDriver::Status SimpleProgressCallback::progress ( size_t  index,
size_t  size 
)
inlinevirtual

Reimplemented from pwiz::analysis::MSDataAnalyzerDriver::ProgressCallback.

Definition at line 83 of file MSDataAnalyzerTest.cpp.

References os_, and Status_Ok.

84  {
85  if (os_) *os_ << "progress: " << index << "/" << size << endl;
86  count++;
88  }
Status_Ok
ostream * os_

Member Data Documentation

§ count

size_t SimpleProgressCallback::count

Definition at line 77 of file MSDataAnalyzerTest.cpp.

Referenced by test().


The documentation for this struct was generated from the following file: