45 lines
949 B
C++
45 lines
949 B
C++
|
|
/*
|
|||
|
|
* SignalSample.hh
|
|||
|
|
*
|
|||
|
|
* Created on: 22 <EFBFBD><EFBFBD><EFBFBD>. 2020 <EFBFBD>.
|
|||
|
|
* 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 {
|
|||
|
|
|
|||
|
|
//!<21><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
|
struct SignalSample : public ISetupStep {
|
|||
|
|
|
|||
|
|
systemic::ISignal * signal = nullptr;
|
|||
|
|
|
|||
|
|
struct Links {
|
|||
|
|
Environment::StatusId signal; //!<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
|
Environment::StatusId sampled; //!<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
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_ */
|