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

Mocking input channel for unit test which allows to pass data to the input port. More...

#include <Imt.Base.Dff.ActiveParts.Test/ChannelMockIn.h>

Inheritance diagram for imt::base::dff::activeparts::test::ChannelMockIn:
imt::base::dff::activeparts::ChannelIfc

Public Member Functions

 ChannelMockIn (void)
 Constructor.
 
virtual ~ChannelMockIn (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 connectPortIn (const PortInput &portIn)
 Connect input port with channel. More...
 
- Public Member Functions inherited from imt::base::dff::activeparts::ChannelIfc
virtual ~ChannelIfc (void)
 Destructor.
 

Detailed Description

Mocking input channel for unit test which allows to pass data to the input port.

Member Function Documentation

◆ connectPortIn()

void imt::base::dff::activeparts::test::ChannelMockIn::connectPortIn ( const PortInput portIn)

Connect input port with channel.

Parameters
portInInput port to connect.

◆ send()

virtual void imt::base::dff::activeparts::test::ChannelMockIn::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: