42 lines
904 B
C++
42 lines
904 B
C++
/*
|
|
* StatusSample.hh
|
|
*
|
|
* Created on: 22 èþë. 2020 ã.
|
|
* Author: LeonidTitov
|
|
*/
|
|
|
|
#ifndef UMLIBRARY_APPLICATION_SCHEMATIC_STATUSSAMPLE_HH_
|
|
#define UMLIBRARY_APPLICATION_SCHEMATIC_STATUSSAMPLE_HH_
|
|
|
|
#include "../ISetupStep.hh"
|
|
|
|
#include "../../systemic/IStatus.hh"
|
|
|
|
namespace application { namespace schematic {
|
|
|
|
//!Ìîäóëü êâàíòîâàíèÿ ñòàòóñà.
|
|
struct StatusSample : public ISetupStep {
|
|
|
|
systemic::IStatus * status = nullptr;
|
|
|
|
struct Links {
|
|
Environment::StatusId status; //!<Èñõîäíûé ñòàòóñ.
|
|
Environment::StatusId sampled; //!<Èçìåðåííûé ñòàòóñ.
|
|
};
|
|
|
|
const Links & links;
|
|
const configuration::ProcessConfig & params;
|
|
|
|
bool input( Environment & env );
|
|
void build( Environment & env );
|
|
|
|
StatusSample( const Links & links, const configuration::ProcessConfig & params );
|
|
|
|
};
|
|
|
|
}}
|
|
|
|
|
|
|
|
#endif /* UMLIBRARY_APPLICATION_SCHEMATIC_STATUSSAMPLE_HH_ */
|