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

46 lines
1.0 KiB
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.

/*
* CopyValue.hh
*
* Created on: 11 февр. 2021 г.
* Author: titov
*/
#ifndef UMLIBRARY_APPLICATION_UTILITY_COPYVALUE_HH_
#define UMLIBRARY_APPLICATION_UTILITY_COPYVALUE_HH_
#include "../ISetupStep.hh"
#include "../../systemic/IValueAsync.hpp"
namespace application { namespace utility {
//!Копирование интерфейса доступа к значениям.
struct CopyValue : public ISetupStep {
typedef systemic::IValueType<float> Value;
Value * origin = nullptr;
bool input( Environment & env );
void build( Environment & env );
struct Links {
Environment::Id origin; //!<Исходное действие.
Environment::Id copy_one; //!<Копия действия.
Environment::Id copy_two; //!<Копия действия.
};
const Links & links;
CopyValue( const Links & links );
};
} /* namespace utility */
} /* namespace application */
#endif /* UMLIBRARY_APPLICATION_UTILITY_COPYVALUE_HH_ */