Dataflow Runtime API  2.7.4.0
Public Member Functions | List of all members
imt::base::dff::activeparts::ChannelInternalForwarder< NumberOfReceivers > Class Template Reference

ChannelInternalForwarder handles the following situations. More...

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

Inheritance diagram for imt::base::dff::activeparts::ChannelInternalForwarder< NumberOfReceivers >:
imt::base::dff::activeparts::ChannelOneToAny< NumberOfReceivers > imt::base::dff::activeparts::ChannelIfc

Public Member Functions

 ChannelInternalForwarder (void)
 Constructor.
 
virtual ~ChannelInternalForwarder (void)
 Destructor.
 
virtual void send (const uint16_t protocolIdentifier, const imt::base::core::serialization::SerializableIfc *const pEventData=NULL, const int32_t eventDataSizeBytes=imt::base::dff::runtime::EVENTDATA_SIZE_BYTES)
 
void connectToForwarderPort (PortOutput &forwarderPortOut)
 Connects the channel to a PortOutput of the ActivePartContainer boundary. More...
 
- Public Member Functions inherited from imt::base::dff::activeparts::ChannelOneToAny< NumberOfReceivers >
 ChannelOneToAny (void)
 Constructor.
 
virtual ~ChannelOneToAny (void)
 Destructor.
 
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

template<uint32_t NumberOfReceivers>
class imt::base::dff::activeparts::ChannelInternalForwarder< NumberOfReceivers >

ChannelInternalForwarder handles the following situations.

A port of an active part (X) inside a ActivePartContainer (C) has to be connected to a boundary port output of the ActivePartContainer (C) AND to other active parts inside the ActivePartContainer (C). Send Priority:

  1. The active parts inside the ActivePartContainer (C) are informed
  2. The boundary port output of the ActivePartContainer (C) is informed

Member Function Documentation

◆ connectToForwarderPort()

template<uint32_t NumberOfReceivers>
void imt::base::dff::activeparts::ChannelInternalForwarder< NumberOfReceivers >::connectToForwarderPort ( PortOutput forwarderPortOut)
inline

Connects the channel to a PortOutput of the ActivePartContainer boundary.

Parameters
forwarderPortOutPort to forward to.

◆ send()

template<uint32_t NumberOfReceivers>
virtual void imt::base::dff::activeparts::ChannelInternalForwarder< NumberOfReceivers >::send ( const uint16_t  protocolIdentifier,
const imt::base::core::serialization::SerializableIfc *const  pEventData = NULL,
const int32_t  eventDataSizeBytes = imt::base::dff::runtime::EVENTDATA_SIZE_BYTES 
)
inlinevirtual

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