![]() |
Scarab
2.8.1
Project 8 C++ Utility Library
|
Namespaces | |
| detail | |
Typedefs | |
| typedef CLI::App | app |
| typedef std::deque< std::unique_ptr< param > > | param_array_contents |
| typedef boost::indirect_iterator< param_array_contents::iterator, param > | param_array_iterator |
| typedef boost::indirect_iterator< param_array_contents::const_iterator, const param > | param_array_const_iterator |
| typedef std::unique_ptr< param > | param_ptr_t |
| typedef std::map< std::string, std::unique_ptr< param > > | param_node_contents |
| typedef map_deref_iterator< std::string, param, param_node_contents::iterator > | param_node_iterator |
| typedef map_deref_iterator< std::string, const param, param_node_contents::const_iterator > | param_node_const_iterator |
| template<typename condition > | |
| using | enable_if_signed = typename std::enable_if< condition::value, detail::is_signed >::type |
| template<typename condition > | |
| using | enable_if_unsigned = typename std::enable_if< condition::value, detail::is_unsigned >::type |
| template<class XBaseType , class... XArgs> | |
| using | factory = indexed_factory< std::string, XBaseType, XArgs... > |
| template<class XBaseType , class... XArgs> | |
| using | registrar = indexed_registrar< std::string, XBaseType, XArgs... > |
| typedef fs::path | path |
| template<typename T , typename List > | |
| using | unique_append = typename unique_append_impl< T, List >::type |
| typedef std::shared_ptr< version_semantic > | version_semantic_ptr_t |
Functions | |
| LOGGER (mtlog, "authentication") | |
| LOGGER (slog, "configurator") | |
| LOGGER (dlog, "parsable") | |
| const string & | EndColor () |
| const string & | FatalColor () |
| const string & | ErrorColor () |
| const string & | WarnColor () |
| const string & | InfoColor () |
| const string & | ProgColor () |
| const string & | DebugColor () |
| const string & | TraceColor () |
| const string & | OtherColor () |
| LOGGER (dlog, "param") | |
| REGISTER_PARAM_INPUT_CODEC (param_input_json, "json") | |
| REGISTER_PARAM_OUTPUT_CODEC (param_output_json, "json") | |
| LOGGER (dlog_param_json, "param_json") | |
| LOGGER (slog, "param_yaml") | |
| REGISTER_PARAM_INPUT_CODEC (param_input_yaml, "yaml") | |
| REGISTER_PARAM_OUTPUT_CODEC (param_output_yaml, "yaml") | |
| SCARAB_API std::ostream & | operator<< (std::ostream &out, const param_array &a_value) |
| SCARAB_API std::ostream & | operator<< (std::ostream &out, const param &a_value) |
| SCARAB_API std::ostream & | operator<< (std::ostream &out, const param_node &a_value) |
| SCARAB_API std::ostream & | operator<< (std::ostream &out, const param_value &a_value) |
| template<> | |
| std::string | param_value::as< std::string > () const |
| template<> | |
| scarab::path | param_value::as< scarab::path > () const |
| int | throw_exception () |
| int | foo2 () |
| int | foo1 () |
| LOGGER (slog, "cancelable") | |
| LOGGER (slog_cq, "concurrent_queue") | |
| void | get_calib_params (unsigned n_bits, unsigned data_type_size, double v_offset, double v_range, bool bits_r_aligned, dig_calib_params *params) |
| Calculate the digitizer calibration parameters with basic parameters: number of bits, Voffset, and Vrange. More... | |
| void | get_calib_params2 (unsigned n_bits, unsigned data_type_size, double v_offset, double v_range, double dac_gain, bool bits_r_aligned, dig_calib_params *params) |
| Calculate the digitizer calibration parameters when given the DAC gain (e.g. from a digitizer's own calibration) More... | |
| template<typename dig_type , typename an_type > | |
| an_type | d2a (dig_type dig, const struct dig_calib_params *params) |
| Convert a signed or unsigned digital value to an analog value. More... | |
| template<typename an_type , typename dig_type , enable_if_unsigned< std::is_unsigned< dig_type > > ...> | |
| dig_type | a2d (an_type analog, const struct dig_calib_params *params) |
| Convert an analog value to an unsigned digital value. More... | |
| LOGGER (slog_ind_fact, "indexed_factory") | |
| template<typename x_key , typename x_value > | |
| const x_value & | at (const std::map< x_key, x_value > &a_map, const x_key &a_key, const x_value &a_default) |
| path | expand_path (const string &a_path) |
| LOGGER (slog, "signal_handler") | |
| void | terminate () |
| std::string | get_formatted_now () |
| std::string | demangle (const char *a_name) |
| template<class x_type > | |
| std::string | type (const x_type &a_param) |
| LOGGER (slog, "version_semantic") | |
Variables | |
| char | date_time_format [] = "%Y-%m-%dT%H:%M:%SZ" |
The standard scarab namespace.
Definition at line 19 of file application.hh.
| using enable_if_signed = typename std::enable_if< condition::value, detail::is_signed >::type |
Definition at line 69 of file digital.hh.
| using enable_if_unsigned = typename std::enable_if< condition::value, detail::is_unsigned >::type |
Definition at line 72 of file digital.hh.
| using factory = indexed_factory< std::string, XBaseType, XArgs... > |
Definition at line 30 of file factory.hh.
| typedef boost::indirect_iterator< param_array_contents::const_iterator, const param > param_array_const_iterator |
Definition at line 29 of file param_array.hh.
| typedef std::deque< std::unique_ptr< param > > param_array_contents |
Definition at line 24 of file param_array.hh.
| typedef boost::indirect_iterator< param_array_contents::iterator, param > param_array_iterator |
Definition at line 28 of file param_array.hh.
| typedef map_deref_iterator< std::string, const param, param_node_contents::const_iterator > param_node_const_iterator |
Definition at line 66 of file param_node.hh.
| typedef std::map< std::string, std::unique_ptr< param > > param_node_contents |
Definition at line 63 of file param_node.hh.
| typedef map_deref_iterator< std::string, param, param_node_contents::iterator > param_node_iterator |
Definition at line 65 of file param_node.hh.
| typedef std::unique_ptr< param > param_ptr_t |
Definition at line 23 of file param_base.hh.
| using registrar = indexed_registrar< std::string, XBaseType, XArgs... > |
Definition at line 33 of file factory.hh.
| using unique_append = typename unique_append_impl< T, List >::type |
Definition at line 68 of file unique_typelist.hh.
| typedef std::shared_ptr< version_semantic > version_semantic_ptr_t |
Definition at line 69 of file version_semantic.hh.
| dig_type a2d | ( | an_type | analog, |
| const struct dig_calib_params * | params | ||
| ) |
Convert an analog value to an unsigned digital value.
Convert an analog value to a signed digital value.
Definition at line 84 of file digital.hh.
| const x_value& scarab::at | ( | const std::map< x_key, x_value > & | a_map, |
| const x_key & | a_key, | ||
| const x_value & | a_default | ||
| ) |
Definition at line 16 of file map_at_default.hh.
| an_type scarab::d2a | ( | dig_type | dig, |
| const struct dig_calib_params * | params | ||
| ) |
Convert a signed or unsigned digital value to an analog value.
Definition at line 76 of file digital.hh.
| std::string demangle | ( | const char * | a_name | ) |
Definition at line 60 of file typename.cc.
| int scarab::foo1 | ( | ) |
Definition at line 29 of file test_terminate.cc.
| int scarab::foo2 | ( | ) |
Definition at line 23 of file test_terminate.cc.
| void get_calib_params | ( | unsigned | n_bits, |
| unsigned | data_type_size, | ||
| double | v_offset, | ||
| double | v_range, | ||
| bool | bits_r_aligned, | ||
| dig_calib_params * | params | ||
| ) |
Calculate the digitizer calibration parameters with basic parameters: number of bits, Voffset, and Vrange.
Definition at line 18 of file digital.cc.
| void get_calib_params2 | ( | unsigned | n_bits, |
| unsigned | data_type_size, | ||
| double | v_offset, | ||
| double | v_range, | ||
| double | dac_gain, | ||
| bool | bits_r_aligned, | ||
| dig_calib_params * | params | ||
| ) |
Calculate the digitizer calibration parameters when given the DAC gain (e.g. from a digitizer's own calibration)
Definition at line 32 of file digital.cc.
| scarab::LOGGER | ( | dlog | , |
| "parsable" | |||
| ) |
| scarab::LOGGER | ( | slog | , |
| "cancelable" | |||
| ) |
| scarab::LOGGER | ( | mtlog | , |
| "authentication" | |||
| ) |
| scarab::LOGGER | ( | slog | , |
| "param_yaml" | |||
| ) |
| scarab::LOGGER | ( | slog | , |
| "signal_handler" | |||
| ) |
| scarab::LOGGER | ( | dlog | , |
| "param" | |||
| ) |
| scarab::LOGGER | ( | slog_cq | , |
| "concurrent_queue" | |||
| ) |
| scarab::LOGGER | ( | dlog_param_json | , |
| "param_json" | |||
| ) |
| scarab::LOGGER | ( | slog_ind_fact | , |
| "indexed_factory" | |||
| ) |
| scarab::LOGGER | ( | slog | , |
| "version_semantic" | |||
| ) |
| scarab::LOGGER | ( | slog | , |
| "configurator" | |||
| ) |
| SCARAB_API std::ostream & operator<< | ( | std::ostream & | out, |
| const param & | a_value | ||
| ) |
Definition at line 60 of file param_base.cc.
| SCARAB_API std::ostream & operator<< | ( | std::ostream & | out, |
| const param_node & | a_value | ||
| ) |
Definition at line 144 of file param_node.cc.
| SCARAB_API std::ostream & operator<< | ( | std::ostream & | out, |
| const param_value & | a_value | ||
| ) |
Definition at line 165 of file param_value.cc.
| SCARAB_API std::ostream & operator<< | ( | std::ostream & | out, |
| const param_array & | a_value | ||
| ) |
Definition at line 167 of file param_array.cc.
|
inline |
Definition at line 434 of file param_value.hh.
|
inline |
Definition at line 428 of file param_value.hh.
| scarab::REGISTER_PARAM_INPUT_CODEC | ( | param_input_yaml | , |
| "yaml" | |||
| ) |
| scarab::REGISTER_PARAM_INPUT_CODEC | ( | param_input_json | , |
| "json" | |||
| ) |
| scarab::REGISTER_PARAM_OUTPUT_CODEC | ( | param_output_json | , |
| "json" | |||
| ) |
| scarab::REGISTER_PARAM_OUTPUT_CODEC | ( | param_output_yaml | , |
| "yaml" | |||
| ) |
| void terminate | ( | ) |
Definition at line 35 of file terminate.cc.
| int scarab::throw_exception | ( | ) |
Definition at line 16 of file test_terminate.cc.
| std::string scarab::type | ( | const x_type & | a_param | ) |
Definition at line 24 of file typename.hh.
1.8.13