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

36 lines
945 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.

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