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

Public Member Functions

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

Private Attributes

ProgressMediatorm_progress_listener
std::atomic_int & m_counter

Detailed Description

Definition at line 50 of file ProgressMediator.cpp.

Constructor & Destructor Documentation

◆ SourceCounter()

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

Definition at line 52 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::SourceCounter::handleMessage ( const SourceInterface & )
inlineoverridevirtual

Implements SourceXtractor::Observer< SourceInterface >.

Definition at line 55 of file ProgressMediator.cpp.

References m_counter, and m_progress_listener.

Member Data Documentation

◆ m_counter

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

Definition at line 62 of file ProgressMediator.cpp.

Referenced by handleMessage(), and SourceCounter().

◆ m_progress_listener

ProgressMediator& SourceXtractor::ProgressMediator::SourceCounter::m_progress_listener
private

Definition at line 61 of file ProgressMediator.cpp.

Referenced by handleMessage(), and SourceCounter().


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