From 8809aa25e9235a06d33a40735db09f8e52462911 Mon Sep 17 00:00:00 2001 From: "Querejeta Lomas, Leire" <leire.querejeta@tecnalia.com> Date: Tue, 30 Aug 2022 09:42:48 +0200 Subject: [PATCH] Subir nuevo archivo --- .../class/include/class/class_structures.hpp | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/api/class/include/class/class_structures.hpp diff --git a/src/api/class/include/class/class_structures.hpp b/src/api/class/include/class/class_structures.hpp new file mode 100644 index 0000000..51ddb68 --- /dev/null +++ b/src/api/class/include/class/class_structures.hpp @@ -0,0 +1,33 @@ +/** + * @file class_structures.hpp + * @author Alfonso Dominguez <alfonso.dominguez@tecnalia.com> and Leire Querejeta Lomas <leire.querejeta@tecnalia.com> + * @date 2020 + * + * Copyright 2020 Tecnalia Research & Innovation. + * Distributed under the GNU GPL v3. + * For full terms see https://www.gnu.org/licenses/gpl.txt + * + * @brief Structures interchanged through the API methods + */ + +#pragma once + +#include <vector> + +//! Structure for a acquisition frame +struct AcqFrame +{ + double timestamp; ///< timestamp of the acquisition frame + std::vector<double> values; ///< values for the different channels +}; + +//! Structure for pattern +struct Pattern +{ + std::string amp; + std::string pw; + std::string r; + int ampval; + int pwval; + int time; +}; -- GitLab