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

44 lines
1004 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.

/*
* CopyParamProvider.hh
*
* Created on: 28 мая 2020 г.
* Author: LeonidTitov
*/
#ifndef UMLIBRARY_APPLICATION_BASIC_COPYPARAMPROVIDER_HH_
#define UMLIBRARY_APPLICATION_BASIC_COPYPARAMPROVIDER_HH_
#include "../ISetupStep.hh"
#include "../../systemic/IParameterProvider.hh"
namespace application { namespace basic {
//!Копирование интерфейса предоставления параметров.
struct CopyParamProvider : public ISetupStep {
systemic::IParameterProvider * provider = nullptr;
struct Links {
Environment::Id input; //!<Модуль предоставления параметров.
Environment::Id output_a;//!<
Environment::Id output_b;//!<
};
const Links & links;
bool input( Environment & env );
void build( Environment & env );
void finalize() {}
CopyParamProvider( const Links & links ) : links(links) {}
};
}}
#endif /* UMLIBRARY_APPLICATION_BASIC_COPYPARAMPROVIDER_HH_ */