mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-10-30 11:21:27 +01:00
Added drain
This commit is contained in:
1 parent
905c231036
commit
a5171bccc2
4 files changed
+70
-30
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#ifndef SF_DAQ_BUFFER_TYPEMAP_HPP
|
||||
#define SF_DAQ_BUFFER_TYPEMAP_HPP
|
||||
|
||||
#include <typeindex>
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
@@ -27,7 +28,7 @@ struct Type{
|
||||
};
|
||||
|
||||
|
||||
const std::unordered_map<std::type_index, Type> TypeTable = {
|
||||
const std::unordered_map<std::type_index, TypeMap> TypeTable = {
|
||||
{ typeid(void), {sizeof(void), TypeMap::VOID} },
|
||||
{ typeid(char), {sizeof(char), TypeMap::CHAR} },
|
||||
{ typeid(int8_t), {sizeof(int8_t), TypeMap::INT8} },
|
||||
|
||||
Reference in new issue
Block a user