#include <processor.h>
A processor handles incoming stream types, sample and triggers. This class Processor
supports one or more streams. If only one Stream is supported use the adtfdat_processing::SingleStreamProcessor base class.
◆ getProcessorIdentifier()
virtual std::string adtfdat_processing::Processor::getProcessorIdentifier |
( |
| ) |
const |
|
pure virtual |
- Returns
- The name of processor implementation.
◆ isCompatible()
virtual bool adtfdat_processing::Processor::isCompatible |
( |
const adtf_file::Stream & |
stream | ) |
const |
|
pure virtual |
This is called to check, whether a processor can handle a given stream.
◆ open()
virtual void adtfdat_processing::Processor::open |
( |
const std::vector< adtf_file::Stream > & |
streams, |
|
|
const std::string & |
destination_url |
|
) |
| |
|
pure virtual |
Opens the processor for handling subsequent items from the given streams.
- Parameters
-
[in] | streams | The streams. |
[in] | destination_url | The output url, i.e. a filename. |
- Exceptions
-
std::exception | based exception with detailed description for implementation dependent error case for the open call |
Implemented in adtfdat_processing::SingleStreamProcessor.
◆ process()
This is called for every item of the streams.
- Parameters
-
[in] | item | The next item of one of the opened streams. |
The documentation for this class was generated from the following file: