SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
SourceXtractor::Segmentation::LabellingListener Class Reference

#include <Segmentation.h>

Collaboration diagram for SourceXtractor::Segmentation::LabellingListener:
Collaboration graph
[legend]

Public Member Functions

 LabellingListener (const Segmentation &segmentation, std::shared_ptr< DetectionImageFrame > detection_frame)
 
void publishSource (std::unique_ptr< SourceInterface > source) const
 
void notifyProgress (int position, int total)
 
void requestProcessing (const ProcessSourcesEvent &event)
 

Private Attributes

const Segmentationm_segmentation
 
std::shared_ptr
< DetectionImageFrame
m_detection_frame
 

Detailed Description

Definition at line 83 of file Segmentation.h.

Constructor & Destructor Documentation

SourceXtractor::Segmentation::LabellingListener::LabellingListener ( const Segmentation segmentation,
std::shared_ptr< DetectionImageFrame detection_frame 
)
inline

Definition at line 85 of file Segmentation.h.

Member Function Documentation

void SourceXtractor::Segmentation::LabellingListener::notifyProgress ( int  position,
int  total 
)
inline

Definition at line 94 of file Segmentation.h.

References m_segmentation.

void SourceXtractor::Segmentation::LabellingListener::publishSource ( std::unique_ptr< SourceInterface source) const
inline

Definition at line 89 of file Segmentation.h.

References m_detection_frame, m_segmentation, std::move(), and SourceXtractor::PipelineEmitter< T >::sendSource().

Referenced by SourceXtractor::BFSSegmentation::labelSource().

Here is the call graph for this function:

void SourceXtractor::Segmentation::LabellingListener::requestProcessing ( const ProcessSourcesEvent event)
inline

Definition at line 98 of file Segmentation.h.

References m_segmentation, and SourceXtractor::PipelineEmitter< T >::sendProcessSignal().

Here is the call graph for this function:

Member Data Documentation

std::shared_ptr<DetectionImageFrame> SourceXtractor::Segmentation::LabellingListener::m_detection_frame
private

Definition at line 104 of file Segmentation.h.

Referenced by publishSource().

const Segmentation& SourceXtractor::Segmentation::LabellingListener::m_segmentation
private

Definition at line 103 of file Segmentation.h.

Referenced by notifyProgress(), publishSource(), and requestProcessing().


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