36 lines
945 B
C++
36 lines
945 B
C++
/*
|
||
* 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_ */
|