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

46 lines
990 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.

/*
* CopyAction.hh
*
* Created on: 30 окт. 2020 г.
* Author: LeonidTitov
*/
#ifndef UMLIBRARY_APPLICATION_UTILITY_COPYACTION_HH_
#define UMLIBRARY_APPLICATION_UTILITY_COPYACTION_HH_
#include "../ISetupStep.hh"
#include "../../systemic/IFunctor.hh"
namespace application { namespace utility {
//!Копирование действий.
struct CopyAction : public ISetupStep {
typedef systemic::IFunctor<void> Action;
Action * 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;
CopyAction( const Links & links );
};
} /* namespace utility */
} /* namespace application */
#endif /* UMLIBRARY_APPLICATION_UTILITY_COPYACTION_HH_ */