SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::ProgressMediator::GroupCounter Class Reference
Inheritance diagram for SourceXtractor::ProgressMediator::GroupCounter:
Collaboration diagram for SourceXtractor::ProgressMediator::GroupCounter:

Public Member Functions

 GroupCounter (ProgressMediator &progress_listener, std::atomic_int &counter)
void handleMessage (const SourceGroupInterface &group) override
Public Member Functions inherited from SourceXtractor::Observer< SourceGroupInterface >
virtual ~Observer ()=default

Private Attributes

ProgressMediatorm_progress_listener
std::atomic_int & m_counter

Detailed Description

Definition at line 65 of file ProgressMediator.cpp.

Constructor & Destructor Documentation

◆ GroupCounter()

SourceXtractor::ProgressMediator::GroupCounter::GroupCounter ( ProgressMediator & progress_listener,
std::atomic_int & counter )
inline

Definition at line 67 of file ProgressMediator.cpp.

References m_counter, m_progress_listener, and SourceXtractor::ProgressMediator::ProgressMediator().

Here is the call graph for this function:

Member Function Documentation

◆ handleMessage()

void SourceXtractor::ProgressMediator::GroupCounter::handleMessage ( const SourceGroupInterface & group)
inlineoverridevirtual

Implements SourceXtractor::Observer< SourceGroupInterface >.

Definition at line 70 of file ProgressMediator.cpp.

References m_counter, m_progress_listener, and SourceXtractor::SourceGroupInterface::size().

Here is the call graph for this function:

Member Data Documentation

◆ m_counter

std::atomic_int& SourceXtractor::ProgressMediator::GroupCounter::m_counter
private

Definition at line 77 of file ProgressMediator.cpp.

Referenced by GroupCounter(), and handleMessage().

◆ m_progress_listener

ProgressMediator& SourceXtractor::ProgressMediator::GroupCounter::m_progress_listener
private

Definition at line 76 of file ProgressMediator.cpp.

Referenced by GroupCounter(), and handleMessage().


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