Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
Public Member Functions | Protected Member Functions | List of all members
ska::cheetah::pipeline::DataConfig< NumericalRep > Class Template Reference

Data Input Configuration Parameters. More...

#include <cheetah/pipeline/DataConfig.h>

Inheritance diagram for ska::cheetah::pipeline::DataConfig< NumericalRep >:
Inheritance graph
Collaboration diagram for ska::cheetah::pipeline::DataConfig< NumericalRep >:
Collaboration graph

Public Member Functions

DataExport< NumericalRep > & data_exporter () const
 return the data exporter module More...
 
- Public Member Functions inherited from ska::cheetah::exporters::DataExportConfig
 DataExportConfig (std::string const &tag=std::string("sinks"))
 
panda::DataSwitchConfig & switch_config () const
 return the configuration suitable for sending to a panda::DataSwitch
 
void activate_streams (std::vector< std::string > const &streams)
 mark the provided streams as active
 
void activate (panda::ChannelId const &channel)
 
void number_of_threads (unsigned const &number_of_threads)
 set the number of dedicated threads to service exporters export (default 0) More...
 
void add_exporter (DataExportStreamConfig)
 set an export streamer configurations
 
std::vector< DataExportStreamConfig > const & exporters () const
 return a list of configured export streamer configurations
 
void channel (panda::ChannelInfo const &)
 explicity add a channel configuration
 
panda::ProcessingEngineConfig const & engine_config (panda::ChannelId const &channel_id) const
 return the processing engine configuration associated with the specified channel
 
void set_engine_config (panda::ChannelId const &channel_id, panda::ProcessingEngineConfig const &config)
 set the engine confugration for a specified channel
 
void set_engine_config (panda::ProcessingEngineConfig const &config)
 set the engine configuration for the default engine More...
 
void parse_property_tree (boost::property_tree::ptree const &pt, boost::program_options::variables_map &vm) override
 
void add_sink (std::string const &tag, std::function< panda::ConfigModule *()> const &cm)
 
void add_sink (panda::ConfigModule &cm)
 
panda::Engine & engine (panda::ChannelId const &)
 return the engine allocated to the specified channel
 
- Public Member Functions inherited from ska::cheetah::utils::Config
 Config (std::string module_name)
 
void terminate () const
 call for notifiers to indicate a termination condition More...
 

Protected Member Functions

void add_options (OptionsDescriptionEasyInit &add_options) override
 
void list_export_types (bool) const
 print to std::cout the export streamer types available
 
- Protected Member Functions inherited from ska::cheetah::exporters::DataExportConfig
void add_options (OptionsDescriptionEasyInit &add_options) override
 

Additional Inherited Members

- Public Types inherited from ska::cheetah::utils::Config
typedef System SystemType
 
typedef panda::PoolManager< SystemTypePoolManagerType
 
typedef PoolManagerType::PoolType PoolType
 

Detailed Description

template<typename NumericalRep>
class ska::cheetah::pipeline::DataConfig< NumericalRep >

Data Input Configuration Parameters.

Definition at line 42 of file DataConfig.h.

Member Function Documentation

◆ data_exporter()

template<typename NumericalRep >
DataExport< NumericalRep > & ska::cheetah::pipeline::DataConfig< NumericalRep >::data_exporter ( ) const

return the data exporter module

result not valid until after parse() has been called

Definition at line 67 of file DataConfig.cpp.

68 {
69  if(!_out) {
70  _out.reset(new DataExport<NumericalRep>(*this));
71  }
72  return *_out;
73 }

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