34 lines
600 B
C++
34 lines
600 B
C++
|
|
/*
|
|||
|
|
* SignalManager.h
|
|||
|
|
*
|
|||
|
|
* Created on: 22 <EFBFBD><EFBFBD><EFBFBD><EFBFBD>. 2018 <EFBFBD>.
|
|||
|
|
* 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_ */
|