SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
SourceXtractor::ProgressMediator::GroupCounter Class Reference
Inheritance diagram for SourceXtractor::ProgressMediator::GroupCounter:
[legend]
Collaboration diagram for SourceXtractor::ProgressMediator::GroupCounter:
[legend]

Public Member Functions

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

Private Attributes

ProgressMediatorm_progress_listener
 
std::atomic_int & m_counter
 

Detailed Description

Definition at line 59 of file ProgressMediator.cpp.

Constructor & Destructor Documentation

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

Definition at line 61 of file ProgressMediator.cpp.

Member Function Documentation

void SourceXtractor::ProgressMediator::GroupCounter::handleMessage ( const std::shared_ptr< SourceGroupInterface > &  group)
inlineoverridevirtual

Implements SourceXtractor::Observer< std::shared_ptr< SourceGroupInterface > >.

Definition at line 64 of file ProgressMediator.cpp.

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

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 71 of file ProgressMediator.cpp.

Referenced by handleMessage().

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

Definition at line 70 of file ProgressMediator.cpp.

Referenced by handleMessage().


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