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.

81{return 5;}

Referenced by test().

◆ 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.

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

References count, and os_.

Member Data Documentation

◆ count

size_t SimpleProgressCallback::count

Definition at line 77 of file MSDataAnalyzerTest.cpp.

Referenced by progress(), and test().


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