|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include "wibmod/WIB1/ItemConversion.hh"#include <stdio.h>#include <boost/foreach.hpp>#include "wibmod/WIB1/conversions-impl.hh"Go to the source code of this file.
Namespaces | |
| namespace | itemconv |
Macros | |
| #define | ARGS(...) |
| #define | EXPAND(x) |
| #define | STRIP(x) |
| #define | DEFINE_CONVERSION_CLASS(name, body) |
| #define | DEFINE_CONVERSION_CLASS(name, body) |
Functions | |
| itemconv::DEFINE_CONVERSION_CLASS (pass,(public:void init(unordered_map< std::string, std::string > params) {(void) params;data_size=sizeof(uint32_t);data_description="i";} void Convert(uint32_t src, void *dest) { uint32_t *val=(uint32_t *) dest;*val=src;})) DEFINE_CONVERSION_CLASS(linear | |
| void | itemconv::init (unordered_map< std::string, std::string > params) |
| void | itemconv::Convert (uint32_t src, void *dest) |
Variables | |
| double | itemconv::scale |
| double | itemconv::offset |
| #define ARGS | ( | ... | ) |
Definition at line 18 of file conversions.cpp.
| #define DEFINE_CONVERSION_CLASS | ( | name, | |
| body ) |
Definition at line 21 of file conversions.cpp.
| #define DEFINE_CONVERSION_CLASS | ( | name, | |
| body ) |
Definition at line 21 of file conversions.cpp.
| #define EXPAND | ( | x | ) |
Definition at line 19 of file conversions.cpp.
| #define STRIP | ( | x | ) |
Definition at line 20 of file conversions.cpp.