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

27 lines
527 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.

/*
* ICommunicationLink.hh
*
* Created on: 29 апр. 2020 г.
* Author: LeonidTitov
*/
#ifndef UMLIBRARY_COMMUNICATION_SERVICE_ICOMMUNICATIONLINK_HH_
#define UMLIBRARY_COMMUNICATION_SERVICE_ICOMMUNICATIONLINK_HH_
#include "IMessageHandler.hh"
namespace communication {
struct ICommunicationLink {
virtual bool registerMessageHandler( IMessageHandler * handler, std::size_t id ) = 0;
virtual ~ICommunicationLink() = default;
};
}
#endif /* UMLIBRARY_COMMUNICATION_SERVICE_ICOMMUNICATIONLINK_HH_ */