35 lines
620 B
C++
35 lines
620 B
C++
/*!\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_ */
|