Dataflow Runtime API  2.7.4.0
Public Member Functions | List of all members
imt::base::dff::activeparts::ChannelIfc Class Referenceabstract

Interface of a channel to transmit data to a receiver. More...

#include <Imt.Base.Dff.ActiveParts/ChannelIfc.h>

Inheritance diagram for imt::base::dff::activeparts::ChannelIfc:
imt::base::dff::activeparts::ChannelOneToAny< NumberOfReceivers > imt::base::dff::activeparts::ChannelOneToNull imt::base::dff::activeparts::ChannelOneToOne imt::base::dff::activeparts::ChannelOneToWindowsMsgQueue imt::base::dff::activeparts::test::ChannelMockIn imt::base::dff::activeparts::test::ChannelMockOut imt::base::dff::activeparts::ChannelInternalForwarder< NumberOfReceivers >

Public Member Functions

virtual ~ChannelIfc (void)
 Destructor.
 
virtual void send (const uint16_t protocolIdentifier, const imt::base::core::serialization::SerializableIfc *const pEventData, const int32_t eventDataSizeBytes=imt::base::dff::runtime::EVENTDATA_SIZE_BYTES)=0
 Send the given data to receiver through the scheduler. More...
 

Detailed Description

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.

Member Function Documentation

◆ send()

virtual void imt::base::dff::activeparts::ChannelIfc::send ( const uint16_t  protocolIdentifier,
const imt::base::core::serialization::SerializableIfc *const  pEventData,
const int32_t  eventDataSizeBytes = imt::base::dff::runtime::EVENTDATA_SIZE_BYTES 
)
pure virtual

Send the given data to receiver through the scheduler.

Parameters
protocolIdentifieridentifier of protocol, is required for the receiver to decode pEventData.
pEventDatapointer to serializable event data, can also be NULL.
eventDataSizeBytesMax 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::ChannelOneToWindowsMsgQueue, imt::base::dff::activeparts::test::ChannelMockOut, and imt::base::dff::activeparts::test::ChannelMockIn.


The documentation for this class was generated from the following file: