MotorControlModuleSDFM_TMS3.../Projects/EFC_Application/UMLibrary/communication/service/ICommunicationLink.hh

27 lines
523 B
C++

/*
* 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_ */