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

35 lines
603 B
C++
Raw Normal View History

/*!\file
* \brief \todo <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
*/
/*
* IProcessor.h
*
* Created on: 21 <EFBFBD><EFBFBD><EFBFBD> 2019 <EFBFBD>.
* 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_ */