MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/systemic/SignalManager.hh
2024-06-07 11:12:56 +03:00

34 lines
605 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* SignalManager.h
*
* Created on: 22 нояб. 2018 г.
* Author: titov
*/
#ifndef SOURCE_SYSTEMIC_SIGNALMANAGER_H_
#define SOURCE_SYSTEMIC_SIGNALMANAGER_H_
#include "ValueManager.hpp"
#include "ISignal.hh"
#include <cstddef>
namespace systemic {
typedef ValueManager<float> SignalManager;
template<std::size_t num>
struct SignalManagerBox {
SignalManager::Record records[num];
SignalManager manager;
SignalManagerBox( std::pmr::memory_resource* allocator ) :
records(), manager( records, num, allocator ) {}
};
}
#endif /* SOURCE_SYSTEMIC_SIGNALMANAGER_H_ */