Dataflow Runtime API
4.0.1.0
|
Messages can be sent on the output port. More...
#include <Imt.Base.Dff.ActiveParts/PortOutput.h>
Public Member Functions | |
PortOutput () | |
Constructor. More... | |
virtual | ~PortOutput () |
Destructor. More... | |
virtual void | write (uint16_t const protocolIdentifier, ::imt::base::core::serialization::SerializableIfc const *const pEventData, size_t const eventDataSizeBytes) |
Write data to port (is sent via the ChannelIfc) More... | |
virtual void | setChannel (ChannelIfc &channel) |
Set the channel to transport the message. More... | |
ChannelIfc const * | getChannel () const |
Get the read only pointer to the channel. More... | |
Public Member Functions inherited from imt::base::core::serialization::SerializableSenderIfc | |
virtual | ~SerializableSenderIfc () |
Destructor. More... | |
Protected Member Functions | |
ChannelIfc * | getChannel () |
Get the modifiable pointer to the channel. More... | |
Messages can be sent on the output port.
An ActivePart can have 0 to N output ports.
imt::base::dff::activeparts::PortOutput::PortOutput | ( | ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Get the modifiable pointer to the channel.
ChannelIfc const* imt::base::dff::activeparts::PortOutput::getChannel | ( | ) | const |
Get the read only pointer to the channel.
|
virtual |
Set the channel to transport the message.
channel | Channel to be set |
Reimplemented in imt::base::dff::activeparts::PortOutputJoin< NumberOfPortsToJoin >.
|
virtual |
Write data to port (is sent via the ChannelIfc)
protocolIdentifier | identifier of protocol, is required for the receiver |
pEventData | pointer to serializable event data, can also be nullptr |
eventDataSizeBytes | Maximum size of the serialized event data in bytes. Used to determine whether to use a small or normal event for sending. |
Implements imt::base::core::serialization::SerializableSenderIfc.