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