41 lines
806 B
C++
41 lines
806 B
C++
/*
|
||
* DummyAction.hh
|
||
*
|
||
* Created on: 18 мар. 2021 г.
|
||
* Author: titov
|
||
*/
|
||
|
||
#ifndef UMLIBRARY_APPLICATION_UTILITY_DUMMYACTION_HH_
|
||
#define UMLIBRARY_APPLICATION_UTILITY_DUMMYACTION_HH_
|
||
|
||
#include "../ISetupStep.hh"
|
||
|
||
#include "../../systemic/IFunctor.hh"
|
||
|
||
namespace application { namespace utility {
|
||
|
||
//!Копирование действий.
|
||
struct DummyAction : public ISetupStep {
|
||
|
||
typedef systemic::IFunctor<void> Action;
|
||
|
||
bool input( Environment & env );
|
||
void build( Environment & env );
|
||
|
||
struct Links {
|
||
Environment::Id dummy; //!<Пустое действие.
|
||
};
|
||
|
||
const Links & links;
|
||
|
||
DummyAction( const Links & links );
|
||
|
||
};
|
||
|
||
} /* namespace utility */
|
||
} /* namespace application */
|
||
|
||
|
||
|
||
#endif /* UMLIBRARY_APPLICATION_UTILITY_DUMMYACTION_HH_ */
|