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

42 lines
1.1 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.

/*
* ParamProviderRegistration.hh
*
* Created on: 18 мар. 2020 г.
* Author: titov
*/
#ifndef UMLIBRARY_APPLICATION_BASIC_SYSTEMPARAMPROVIDERREGISTRATION_HH_
#define UMLIBRARY_APPLICATION_BASIC_PARAMPROVIDERREGISTRATION_HH_
#include "../ISetupStep.hh"
#include "../../systemic/IParameterProvider.hh"
namespace application { namespace basic {
//!Регистрация предоставителя параметров системы в окружении.
struct SystemParamProviderRegistration : public ISetupStep {
systemic::IParameterProvider * provider = nullptr;
struct Links {
Environment::Id provider; //!<Модуль предоставления параметров.
};
const Links & links;
bool input( Environment & env );
void build( Environment & env );
//!Идентификатор провайдера настроек системы.
static const systemic::CustomParameters::ProviderId system_provider_id = 0;
SystemParamProviderRegistration( const Links & links ) : links(links) {}
};
}}
#endif /* UMLIBRARY_APPLICATION_BASIC_SYSTEMPARAMPROVIDERREGISTRATION_HH_ */