Dataflow Runtime API
4.0.1.0
|
Interface of a channel to transmit data to a receiver. More...
#include <Imt.Base.Dff.ActiveParts/ChannelIfc.h>
Public Member Functions | |
virtual | ~ChannelIfc () |
Destructor. More... | |
virtual void | send (uint16_t const protocolIdentifier, ::imt::base::core::serialization::SerializableIfc const *const pEventData, size_t const eventDataSizeBytes)=0 |
Send the given data to receiver through the scheduler. More... | |
Interface of a channel to transmit data to a receiver.
ActiveParts are connected to each other via channels, which are for their part only connected to ports. Channels have the role of decoupling the sender from the receiver and handling the message transport.
|
inlinevirtual |
Destructor.
|
pure virtual |
Send the given data to receiver through the scheduler.
protocolIdentifier | identifier of protocol, is required for the receiver to decode pEventData. |
pEventData | pointer to serializable event data, can also be nullptr. |
eventDataSizeBytes | Max number of bytes of serialized event data. |
Implemented in imt::base::dff::activeparts::ChannelInternalForwarder< NumberOfReceivers >, imt::base::dff::activeparts::ChannelOneToOne, imt::base::dff::activeparts::ChannelOneToNull, imt::base::dff::activeparts::ChannelOneToAny< NumberOfReceivers >, imt::base::dff::activeparts::test::ChannelMockOut, and imt::base::dff::activeparts::test::ChannelMockIn.