MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/application/schematic/VievValue.hh
2024-06-07 11:12:56 +03:00

41 lines
999 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.

/*
* VievValue.hh
*
* Created on: 12 сент. 2020 г.
* Author: LeonidTitov
*/
#ifndef UMLIBRARY_APPLICATION_SCHEMATIC_VIEVVALUE_HH_
#define UMLIBRARY_APPLICATION_SCHEMATIC_VIEVVALUE_HH_
#include "../ISetupStep.hh"
#include "../../schematic/SyncAsync.hpp"
namespace application { namespace schematic {
//!Модуль позволяет видеть текущее значение асинхронной величины.
struct VievValue : public ISetupStep {
typedef systemic::IValueType<float> Value;
const Value * value = nullptr;
bool input( Environment & env );
void build( Environment & env );
struct Links {
Environment::Id value; //!<Просматриваемое значение.
Environment::Id view; //!<Значение как сигнал.
};
const Links & links;
VievValue( const Links & links ) : links(links) {}
};
}}
#endif /* UMLIBRARY_APPLICATION_SCHEMATIC_VIEVVALUE_HH_ */