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

Send the message on a One-to-One channel. More...

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

Inheritance diagram for imt::base::dff::activeparts::ChannelOneToOne:
imt::base::dff::activeparts::ChannelIfc

Public Member Functions

 ChannelOneToOne (void)
 Constructor.
 
virtual ~ChannelOneToOne (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)
 
void connectPorts (PortOutput &portOut, const ReceiverIfc &portIn)
 Connect output port with input port via this channel. More...
 
- Public Member Functions inherited from imt::base::dff::activeparts::ChannelIfc
virtual ~ChannelIfc (void)
 Destructor.
 

Detailed Description

Send the message on a One-to-One channel.

A One-to-One channel ensures that only one receiver consumes any given message in the order it has been placed.

Member Function Documentation

◆ connectPorts()

void imt::base::dff::activeparts::ChannelOneToOne::connectPorts ( PortOutput portOut,
const ReceiverIfc portIn 
)

Connect output port with input port via this channel.

Remarks: if called more than once, the old receiver gets overwritten.

Parameters
portOutOutput port to connect.
portInInput port to connect.

◆ send()

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

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