Added drain

This commit is contained in:
2021-07-13 12:10:43 +02:00
parent 905c231036
commit a5171bccc2
4 changed files with 70 additions and 30 deletions
+2 -1
View File
@@ -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} },