MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/communication/service/IMessageSeries.hh
2024-06-07 11:12:56 +03:00

37 lines
674 B
C++
Raw Permalink 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.

/*
* IMessageSeries.hh
*
* Created on: 21 апр. 2020 г.
* Author: LeonidTitov
*/
#ifndef UMLIBRARY_COMMUNICATION_SERVICE_IMESSAGESERIES_HH_
#define UMLIBRARY_COMMUNICATION_SERVICE_IMESSAGESERIES_HH_
#include "../../driver/IDataLink.hh"
namespace communication {
struct IMessageSeriesLink {
typedef driver::ITxLink ostream;
virtual ostream & sendData( std::size_t size ) = 0;
virtual ~IMessageSeriesLink() = default;
};
struct IMessageSeriesHandler {
virtual void handler( IMessageSeriesLink * series_link ) = 0;
virtual ~IMessageSeriesHandler() = default;
};
}
#endif /* UMLIBRARY_COMMUNICATION_SERVICE_IMESSAGESERIES_HH_ */