remove signal generator

This commit is contained in:
2026-02-22 10:42:29 +03:00
parent 0b9c830f58
commit a082537c94
524 changed files with 101136 additions and 375 deletions

View File

@@ -0,0 +1,39 @@
#pragma once
#include <vector>
#include "utils/real_time/real_time.hpp"
#include "utils/fvec/fvec.hpp"
#include <hack/logger/logger.hpp>
namespace hr
{
struct result
{
struct bit
{
real_time m_duration;
fvec_t m_value;
};
void set_bit(bit& b)
{
m_data.push_back(b);
}
bool empty() const
{
bool res = true;
try
{
if (!m_data.empty()) res = m_data.at(0).m_value.empty();
}
catch(std::exception& e)
{
hack::error()(e.what());
}
return res;
}
std::vector<bit> m_data;
};
}