24 #ifndef SKA_CHEETAH_PIPELINE_CHEETAHCONFIG_H 25 #define SKA_CHEETAH_PIPELINE_CHEETAHCONFIG_H 27 #include "cheetah/pipeline/MultiBeamConfig.h" 28 #include "cheetah/pipeline/AccelerationSearchAlgoConfig.h" 29 #include "cheetah/pipeline/EmptyConfig.h" 30 #include "cheetah/pipeline/ScanConfig.h" 31 #include "cheetah/channel_mask/ConfigurableChannelMaskConfig.h" 32 #include "cheetah/ddtr/Config.h" 33 #include "cheetah/fdas/Config.h" 34 #include "cheetah/fldo/Config.h" 35 #include "cheetah/psbc/Config.h" 36 #include "cheetah/rfim/Config.h" 37 #include "cheetah/sift/Config.h" 38 #include "cheetah/sps/Config.h" 39 #include "cheetah/spsift/Config.h" 40 #include "cheetah/sps_clustering/Config.h" 41 #include "cheetah/tdas/Config.h" 43 #include "panda/ConfigModule.h" 44 #include "panda/PoolManagerConfig.h" 45 #include "panda/PoolSelector.h" 46 #include "panda/DataSwitchConfig.h" 48 #include <boost/program_options.hpp> 66 template<
typename NumericalRep>
70 typedef utils::Config::PoolManagerType PoolManagerType;
133 rfim::ConfigType<PoolManagerType>
const&
rfim_config()
const;
138 sps::ConfigType<PoolManagerType>
const&
sps_config()
const;
139 sps::ConfigType<PoolManagerType>&
sps_config();
190 int parse(
int argc,
char** argv);
193 void add_options(OptionsDescriptionEasyInit& add_options)
override;
196 boost::program_options::options_description _desc;
197 boost::program_options::options_description _all_desc;
198 boost::program_options::positional_options_description _options_pod;
200 std::string _app_name;
202 std::string _stream_name;
203 std::vector<std::string> _pipeline_handler_names;
204 std::string _pipeline_name;
205 bool _handler_timing;
206 mutable panda::DataSwitchConfig _switch_config;
209 typedef panda::PoolManagerConfig<utils::Config::SystemType> PoolManagerConfigType;
210 PoolManagerConfigType _pool_manager_config;
212 PoolManagerType _pool_manager;
218 fldo::ConfigType _fldo_config;
220 rfim::ConfigType<PoolManagerType> _rfim_config;
221 sift::ConfigType _sift_config;
222 sps::ConfigType<PoolManagerType> _sps_config;
233 #include "cheetah/pipeline/detail/CheetahConfig.cpp" 235 #endif // SKA_CHEETAH_PIPELINE_CHEETAHCONFIG_H sift::ConfigType const & sift_config() const
return the sift module specific configuration parameters
Parse configuration parameters for a cheetah pipeline application.
MultiBeamConfig< NumericalRep > const & beams_config() const
return the configuration node with beam configurations
Base class for module configuration.
bool time_handler_invocation() const
wether to activte timing between each invocation of the runtime computational pipeline ...
panda::DataSwitchConfig & switch_config() const
return the data switch configuration parameters
rfim::ConfigType< PoolManagerType > const & rfim_config() const
return the rfim module specific configuration parameters
Configuration for the Configurable ChannelMask module.
Configuration parameters for the available acceleration searches.
psbc::Config const & psbc_config() const
return the psbc module specific configuration parameters
int parse(int argc, char **argv)
parse the command line options/config file
Class of all common input parameters.
AccelerationSearchAlgoConfig & acceleration_search_config()
return the templated acceleration search configuration
Some limits and constants for FLDO.
panda::PoolManagerConfig< utils::Config::SystemType > const & pool_manager_config() const
return the data switch configuration parameters
PoolManagerType const & pool_manager() const
return the pool manager object
sps::ConfigType< PoolManagerType > const & sps_config() const
return the sps module specific configuration parameters
EmptyConfig const & empty_config() const
return the empty module specific configuration parameters
gloabl system definintion for the required device support in this project
fldo::ConfigType const & fldo_config() const
return the fldo module specific configuration parameters
std::string const & pipeline_name() const
return the selected pipeline name
std::string version() const
return the cheetah version as a string
void set_pipeline_handlers(std::vector< std::string > const &handler_names)
set the computational unit names available
std::string const & stream_name() const
return the selected stream name
Configuration for the data collection buffer.
ScanConfig const & scan_config() const
return the empty module specific configuration parameters
channel_mask::ConfigurableChannelMaskConfig< NumericalRep > const & channel_mask_config() const
return the channel_mask configuration