![]() |
Scarab
v2.0.0
Project 8 C++ Utility Library
|
Classes | |
class | authentication |
class | base_registrar |
class | base_registrar< XBaseType, void > |
class | cancelable |
class | concurrent_queue |
class | configurator |
class | destroyer |
struct | dig_calib_params |
class | error |
class | factory |
class | factory< XBaseType, void > |
class | global_config |
class | logger |
class | map_deref_iterator |
class | param |
class | param_array |
class | param_input_codec |
class | param_input_json |
Convert JSON to Param. More... | |
class | param_input_yaml |
Convert YAML to Param. More... | |
class | param_node |
class | param_output_codec |
class | param_output_json |
Convert Param to JSON. More... | |
class | param_output_yaml |
Convert YAMl to JSON. More... | |
class | param_translator |
class | param_value |
class | parsable |
class | parser |
class | registrar |
class | registrar< XBaseType, XDerivedType, void > |
class | singleton |
class | version |
class | version_ifc |
class | version_semantic |
Typedefs | |
typedef std::deque< 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::map< std::string, 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 |
typedef fs::path | path |
Functions | |
LOGGER (mtlog,"authentication") | |
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") | |
LOGGER (slog,"configurator") | |
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::get< std::string > () const |
template<> | |
scarab::path | param_value::get< scarab::path > () const |
LOGGER (dlog,"parsable") | |
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) |
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) |
template<typename dig_type , typename an_type > | |
an_type | d2a (dig_type dig, const struct dig_calib_params *params) |
template<typename an_type , typename dig_type > | |
dig_type | a2d (an_type analog, const struct dig_calib_params *params) |
LOGGER (slog_fact,"factory") | |
path | expand_path (const string &a_path) |
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) |
Variables | |
char | date_time_format [] = "%Y-%m-%dT%H:%M:%SZ" |
The standard scarab namespace.
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< 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 63 of file param_node.hh.
typedef std::map< std::string, param* > param_node_contents |
Definition at line 60 of file param_node.hh.
typedef map_deref_iterator< std::string, param, param_node_contents::iterator > param_node_iterator |
Definition at line 62 of file param_node.hh.
dig_type scarab::a2d | ( | an_type | analog, |
const struct dig_calib_params * | params | ||
) |
Definition at line 53 of file digital.hh.
an_type scarab::d2a | ( | dig_type | dig, |
const struct dig_calib_params * | params | ||
) |
Definition at line 44 of file digital.hh.
std::string demangle | ( | const char * | a_name | ) |
Definition at line 58 of file typename.cc.
int scarab::foo1 | ( | ) |
Definition at line 30 of file test_terminate.cc.
int scarab::foo2 | ( | ) |
Definition at line 24 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 | ||
) |
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 | ||
) |
Definition at line 32 of file digital.cc.
scarab::LOGGER | ( | dlog | , |
"parsable" | |||
) |
scarab::LOGGER | ( | slog | , |
"cancelable" | |||
) |
scarab::LOGGER | ( | mtlog | , |
"authentication" | |||
) |
scarab::LOGGER | ( | slog_fact | , |
"factory" | |||
) |
scarab::LOGGER | ( | slog | , |
"param_yaml" | |||
) |
scarab::LOGGER | ( | dlog | , |
"param" | |||
) |
scarab::LOGGER | ( | slog_cq | , |
"concurrent_queue" | |||
) |
scarab::LOGGER | ( | dlog_param_json | , |
"param_json" | |||
) |
scarab::LOGGER | ( | slog | , |
"configurator" | |||
) |
SCARAB_API std::ostream & operator<< | ( | std::ostream & | out, |
const param & | a_value | ||
) |
Definition at line 41 of file param_base.cc.
SCARAB_API std::ostream & operator<< | ( | std::ostream & | out, |
const param_array & | a_value | ||
) |
Definition at line 97 of file param_array.cc.
SCARAB_API std::ostream & operator<< | ( | std::ostream & | out, |
const param_node & | a_value | ||
) |
Definition at line 119 of file param_node.cc.
SCARAB_API std::ostream & operator<< | ( | std::ostream & | out, |
const param_value & | a_value | ||
) |
Definition at line 327 of file param_value.cc.
|
inline |
Definition at line 150 of file param_value.hh.
|
inline |
Definition at line 144 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_yaml | , |
"yaml" | |||
) |
scarab::REGISTER_PARAM_OUTPUT_CODEC | ( | param_output_json | , |
"json" | |||
) |
void terminate | ( | ) |
Definition at line 32 of file terminate.cc.
int scarab::throw_exception | ( | ) |
Definition at line 17 of file test_terminate.cc.
std::string scarab::type | ( | const x_type & | a_param | ) |
Definition at line 22 of file typename.hh.