SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#include <Sorter.h>
Public Member Functions | |
Sorter () | |
virtual | ~Sorter ()=default |
void | handleMessage (const std::shared_ptr< SourceGroupInterface > &message) override |
![]() | |
virtual | ~Observer ()=default |
![]() | |
virtual | ~Observable ()=default |
Destructor. More... | |
virtual void | addObserver (std::shared_ptr< Observer< std::shared_ptr< SourceGroupInterface > >> observer) |
Adds an Observer that will be notified when notify Observers is called. More... | |
virtual void | removeObserver (std::shared_ptr< Observer< std::shared_ptr< SourceGroupInterface > >> observer) |
Removes a previously added Observer from the list of Observers to notify. More... | |
Private Attributes | |
std::map< int, std::shared_ptr < SourceGroupInterface > > | m_output_buffer |
int | m_output_next |
Additional Inherited Members | |
![]() | |
void | notifyObservers (const std::shared_ptr< SourceGroupInterface > &message) const |
SourceXtractor::Sorter::Sorter | ( | ) |
Definition at line 27 of file Sorter.cpp.
|
virtualdefault |
|
overridevirtual |
Implements SourceXtractor::Observer< std::shared_ptr< SourceGroupInterface > >.
Definition at line 30 of file Sorter.cpp.
References SourceXtractor::extractSourceId(), m_output_buffer, m_output_next, SourceXtractor::Observable< std::shared_ptr< SourceGroupInterface > >::notifyObservers(), std::sort(), and std::transform().
|
private |
Definition at line 42 of file Sorter.h.
Referenced by handleMessage().
|
private |
Definition at line 43 of file Sorter.h.
Referenced by handleMessage().