MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/driver/BinaryDataReadEventProcess.hh
2024-06-07 11:12:56 +03:00

34 lines
955 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.

/*
* BinaryDataReadEventProcess.hh
*
* Created on: 7 мая 2023 г.
* Author: titov
*/
#ifndef UMLIBRARY_DRIVER_BINARYDATAREADEVENTPROCESS_HH_
#define UMLIBRARY_DRIVER_BINARYDATAREADEVENTPROCESS_HH_
#include "../systemic/IProcess.hh"
#include "../communication/IBinaryDataSubscriber.hh"
namespace driver {
//!Модуль имитирует события приема данных в процессе.
class BinaryDataReadEventProcess : public systemic::IProcess {
public:
BinaryDataReadEventProcess( communication::IBinaryDataReadEvent & event,
communication::IBinaryDataSubscriber & subscriber );
void process() override;
private:
communication::IBinaryDataReadEvent & event; //!<Генерация события.
communication::IBinaryDataSubscriber & subscriber; //!<Абонент.
};
} // namespace driver
#endif /* UMLIBRARY_DRIVER_BINARYDATAREADEVENTPROCESS_HH_ */