MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/application/schematic/SignalSample.hh

45 lines
1007 B
C++
Raw Normal View History

2024-06-07 11:12:56 +03:00
/*
* SignalSample.hh
*
* Created on: 22 июл. 2020 г.
* Author: LeonidTitov
*/
#ifndef UMLIBRARY_APPLICATION_SCHEMATIC_SIGNALSAMPLE_HH_
#define UMLIBRARY_APPLICATION_SCHEMATIC_SIGNALSAMPLE_HH_
#include "../ISetupStep.hh"
#include "../../systemic/ISignal.hh"
#include "../../schematic/StatusFilter.hh"
namespace application { namespace schematic {
//!Модуль квантования сигнала.
struct SignalSample : public ISetupStep {
systemic::ISignal * signal = nullptr;
struct Links {
Environment::StatusId signal; //!<Исходный сигнал.
Environment::StatusId sampled; //!<Измеренный сигнал.
};
const Links & links;
const configuration::ProcessConfig & params;
bool input( Environment & env );
void build( Environment & env );
SignalSample( const Links & links, const configuration::ProcessConfig & params );
};
}}
#endif /* UMLIBRARY_APPLICATION_SCHEMATIC_SIGNALSAMPLE_HH_ */