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

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

/*
* AddComputingTask.hh
*
* Created on: 17 июл. 2020 г.
* Author: LeonidTitov
*/
#ifndef UMLIBRARY_APPLICATION_UTILITY_ADDCOMPUTINGTASK_HH_
#define UMLIBRARY_APPLICATION_UTILITY_ADDCOMPUTINGTASK_HH_
#include "../ISetupStep.hh"
#include "../../processing/calc/Calculator.hh"
namespace application { namespace utility {
//!
struct AddComputingTask : public ISetupStep {
processing::calc::Calculator * calc = nullptr;
processing::calc::IComputingTaskHolder * task = nullptr;
bool input( Environment & env );
void build( Environment & env );
struct Links {
Environment::Id calculator; //!<
Environment::Id task; //!<
};
const Links & links;
AddComputingTask( const Links & links ) : links(links) {}
};
}}
#endif /* UMLIBRARY_APPLICATION_UTILITY_ADDCOMPUTINGTASK_HH_ */