Class DspsrPipeline

Inheritance Relationships

Derived Types

Class Documentation

class DspsrPipeline

A DSPSR Pipeline Adaptor.

Subclassed by ska::pst::dsp::DetectedFilterbankPipeline, ska::pst::dsp::FlowThroughPipeline

Public Functions

DspsrPipeline() = default

Construct a new DspsrPipeline object.

virtual ~DspsrPipeline() = default

Destroy the DspsrPipeline object.

virtual ::dsp::Pipeline *get_pipeline() = 0

Return the DSPSR Pipeline (Adaptee)

virtual bool has_pipeline() = 0

Return true if the DSPSR Pipeline (Adaptee) has been set.

virtual void validate(const ska::pst::common::AsciiHeader &config, ska::pst::common::ValidationContext *context) = 0

Validate the scan configuration parameters, reporting any errors found.

Parameters
  • config – scan configuration parameters, that must contain the scan_config_keys.

  • context – A validation context where errors should be added.

virtual void configure(const ska::pst::common::AsciiHeader &config) = 0

Configure the pipeline.

virtual void set_cuda_device(const std::string &ids)

Set the comma-separated list CUDA id(s) of the device(s) to be used by the pipeline.

virtual void set_maximum_RAM(uint64_t bytes)

Set the maximum amount of RAM to be used by the pipeline (in bytes_)

inline virtual void set_scan_path(const std::string &path)

Set the path where output data will be written.

Protected Attributes

std::string scan_path

Path where scan output data will be written.