MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/systemic/IProcessor.hh

35 lines
620 B
C++
Raw Normal View History

2024-06-07 11:12:56 +03:00
/*!\file
* \brief \todo Описание файла.
*/
/*
* IProcessor.h
*
* Created on: 21 мая 2019 г.
* Author: titov
*/
#ifndef SOURCE_SYSTEMIC_IPROCESSOR_H_
#define SOURCE_SYSTEMIC_IPROCESSOR_H_
#include "IProcess.hh"
namespace systemic {
struct IProcessor {
typedef unsigned Priority;
typedef unsigned Period;
typedef unsigned Phase;
typedef bool Controlled;
virtual void reqisterProcess( Priority priority, Period period, Phase phase, Controlled controlled, IProcess & proc ) = 0;
virtual ~IProcessor() = default;
};
}
#endif /* SOURCE_SYSTEMIC_IPROCESSOR_H_ */