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

40 lines
976 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.

/*
* FlushData.hh
*
* Created on: 25 янв. 2021 г.
* Author: titov
*/
#ifndef UMLIBRARY_APPLICATION_BASIC_FLUSHDATA_HH_
#define UMLIBRARY_APPLICATION_BASIC_FLUSHDATA_HH_
#include "../ISetupStep.hh"
namespace application { namespace basic {
//!Модуль синхронизирует в ПЗУ заданный блок данных.
struct FlushData : public ISetupStep {
bool input( Environment & env ) override;
void build( Environment & env ) override;
systemic::SharedData buff;
const systemic::CustomParameters::ProviderId prov = 0;
struct Links {
Environment::Id data; //!<Данные, которые необходимо синхронизировать в ПЗУ.
Environment::Id flush; //!<Действие синхронизации данных в ПЗУ.
};
const Links & links;
FlushData( const Links & links );
};
}}
#endif /* UMLIBRARY_APPLICATION_BASIC_FLUSHDATA_HH_ */