CFEL - ASG Software Suite
2.5.0
CASS
|
base class for all frame processors More...
#include <frame_processor_base.h>
Public Types | |
typedef std::tr1::shared_ptr< FrameProcessorBase > | shared_pointer |
typedef the shared pointer of this More... | |
Public Member Functions | |
virtual | ~FrameProcessorBase () |
virtual destructor More... | |
virtual Frame & | operator() (Frame &frame)=0 |
process the frame More... | |
virtual void | loadSettings (CASSSettings &s)=0 |
load the settings of this processor More... | |
Static Public Member Functions | |
static shared_pointer | instance (const std::string &type) |
create an instance of the requested functor More... | |
base class for all frame processors
a frame processor will process the pixels of a frame. For a list of possible processors see description of pixeldetector::AdvancedDetector.
Definition at line 31 of file frame_processor_base.h.
typedef std::tr1::shared_ptr<FrameProcessorBase> cass::pixeldetector::FrameProcessorBase::shared_pointer |
typedef the shared pointer of this
Definition at line 35 of file frame_processor_base.h.
|
inlinevirtual |
virtual destructor
Definition at line 38 of file frame_processor_base.h.
|
static |
create an instance of the requested functor
type | the reqested type |
Definition at line 43 of file frame_processor_base.cpp.
Referenced by cass::pixeldetector::AdvancedDetector::loadSettings().
|
pure virtual |
load the settings of this processor
s | the CASSSettings object to read the information from |
Implemented in cass::pixeldetector::HLLProcessor, and cass::pixeldetector::NoProcess.
process the frame
take the input frame, process it and then return a reference to it
frame | the frame that should be processed |
Implemented in cass::pixeldetector::HLLProcessor, and cass::pixeldetector::NoProcess.