Configuration for the BRDZ module.
More...
#include <cheetah/brdz/Config.h>
|
cuda::Config const & | cuda_config () const |
| Configuration for cuda implementation of Brdz. More...
|
|
std::vector< data::Birdie > const & | birdies () const |
| Get the birdie list. More...
|
|
template<typename Container > |
void | birdies (Container &&birds) |
| Set the birdie list via a move. More...
|
|
template<typename Container > |
void | birdies (Container const &birds) |
| Set the birdie list via a copy. More...
|
|
template<typename Iterator > |
void | birdies (Iterator beg, Iterator end) |
| Set the birdie list from an iterator. More...
|
|
| Config (std::string module_name) |
|
void | terminate () const |
| call for notifiers to indicate a termination condition More...
|
|
|
void | add_options (OptionsDescriptionEasyInit &add_options) override |
|
|
typedef System | SystemType |
|
typedef panda::PoolManager< SystemType > | PoolManagerType |
|
typedef PoolManagerType::PoolType | PoolType |
|
Configuration for the BRDZ module.
Definition at line 43 of file Config.h.
◆ birdies() [1/4]
std::vector< data::Birdie > const & ska::cheetah::brdz::Config::birdies |
( |
| ) |
const |
Get the birdie list.
- Returns
- list of birdie frequencies and widths
Definition at line 50 of file Config.cpp.
◆ birdies() [2/4]
template<typename Container >
void ska::cheetah::brdz::Config::birdies |
( |
Container && |
birds | ) |
|
Set the birdie list via a move.
- Parameters
-
- Template Parameters
-
Container | The type of container (must have value type of data::Birdie) |
Definition at line 32 of file Config.cpp.
34 static_assert(std::is_same<typename Container::value_type, data::Birdie>::value,
35 "Container must have have value type of data::Birdie");
◆ birdies() [3/4]
template<typename Container >
void ska::cheetah::brdz::Config::birdies |
( |
Container const & |
birds | ) |
|
Set the birdie list via a copy.
- Parameters
-
- Template Parameters
-
Container | The type of container (must have value type of data::Birdie) |
Definition at line 48 of file Config.cpp.
50 static_assert(std::is_same<typename Container::value_type, data::Birdie>::value,
51 "Container must have have value type of data::Birdie");
◆ birdies() [4/4]
template<typename Iterator >
void ska::cheetah::brdz::Config::birdies |
( |
Iterator |
beg, |
|
|
Iterator |
end |
|
) |
| |
Set the birdie list from an iterator.
- Parameters
-
[in] | beg | The start iterator |
[in] | end | The end iterator |
- Template Parameters
-
Iterator | The type of iterator (must have value type of data::Birdie) |
Definition at line 40 of file Config.cpp.
42 static_assert(std::is_same<typename Iterator::value_type, data::Birdie>::value,
43 "Container must have have value type of data::Birdie");
44 _birdies.assign(beg,end);
◆ cuda_config()
cuda::Config const & ska::cheetah::brdz::Config::cuda_config |
( |
| ) |
const |
The documentation for this class was generated from the following files: