![]() |
Dataflow Runtime API
3.0.3.0
|
Messages can be sent on the output port. More...
#include <Imt.Base.Dff.ActiveParts/PortOutput.h>
Public Member Functions | |
| PortOutput (void) | |
| Constructor. More... | |
| virtual | ~PortOutput (void) |
| Destructor. More... | |
| virtual void | write (const uint16_t protocolIdentifier, const imt::base::core::serialization::SerializableIfc *const pEventData, const size_t eventDataSizeBytes) |
| 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... | |
Public Member Functions inherited from imt::base::core::serialization::SerializableSenderIfc | |
| virtual | ~SerializableSenderIfc (void) |
| Destructor. 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.
| imt::base::dff::activeparts::PortOutput::PortOutput | ( | void | ) |
Constructor.
|
virtual |
Destructor.
|
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 >.
|
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 NULL |
| 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.