3#ifndef IMT_BASE_LIB_REMOTING_REMOTEOBJECTSIGNALTEMPLATE_H
4#define IMT_BASE_LIB_REMOTING_REMOTEOBJECTSIGNALTEMPLATE_H
22template<u
int16_t PROTOCOL_ID>
38 m_pPortOut {portOut} {
45 if (m_pPortOut ==
nullptr) {
46 ASSERT_DEBUG1(
false,
"Output port not set, did you forget to pass the port in the constructor?");
50 m_pPortOut->
write(PROTOCOL_ID,
nullptr, 0);
void ASSERT_DEBUG1(bool const condition, char_t const *const pMessage) noexcept
"Assert for debugging only" (ASSERT_DEBUG).
Deserializes various data types from the given byte buffer.
Interface to write a serializable object to another object.
virtual void write(uint16_t const protocolIdentifier, ::imt::base::core::serialization::SerializableIfc const *const pEventData, size_t const eventDataSizeBytes)=0
Write object.
Serializes various data types into the given byte buffer.
Provides an abstract base class for all remote object implementations.
Defines a remote object template to serialize and deserialize a signal.
RemoteObjectSignalTemplate(RemotingSendServiceIfc *const pRemotingSendService, RemotingServiceIfc *const pRemotingReceiveService=nullptr, ::imt::base::core::serialization::SerializableSenderIfc *const portOut=nullptr)
Constructor.
void serialize(::imt::base::core::serialization::Serializer &) const final
void deserialize(::imt::base::core::serialization::Deserializer &) final
Interface for the remoting sending service (allows remote objects to initiate the send by themselves)...
Interface for the RemotingService.
This is a application specific file which is used to configure Imt.Base.Core.Math.