![]() |
Dataflow Runtime API
2.7.4.0
|
Messages can be sent on the output port. More...
#include <Imt.Base.Dff.ActiveParts/PortOutput.h>
Public Member Functions | |
PortOutput (void) | |
Constructor. | |
virtual | ~PortOutput (void) |
Destructor. | |
void | write (const uint16_t protocolIdentifier, const imt::base::core::serialization::SerializableIfc *const pEventData=NULL, const int32_t eventDataSizeBytes=imt::base::dff::runtime::EVENTDATA_SIZE_BYTES) |
Write data to port (is sent via the ChannelIfc) More... | |
virtual void | setChannel (ChannelIfc &channel) |
Set the channel to transport the message. More... | |
const ChannelIfc * | getChannel (void) const |
Get the read only pointer to the channel. More... | |
Protected Member Functions | |
ChannelIfc * | getChannel (void) |
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.
|
protected |
Get the modifiable pointer to the channel.
const ChannelIfc* imt::base::dff::activeparts::PortOutput::getChannel | ( | void | ) | 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 >.
void imt::base::dff::activeparts::PortOutput::write | ( | const uint16_t | protocolIdentifier, |
const imt::base::core::serialization::SerializableIfc *const | pEventData = NULL , |
||
const int32_t | eventDataSizeBytes = imt::base::dff::runtime::EVENTDATA_SIZE_BYTES |
||
) |
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 NULL |
eventDataSizeBytes | Maximum size of the serialized event data in bytes. Used to determine whether to use a small or normal event for sending. |