Imt.Base C++ API V4.1.1.0
Loading...
Searching...
No Matches
imt::base::dff::activeparts::PortInput Class Referencefinal

Messages can be received on the input port. More...

#include <Imt.Base.Dff.ActiveParts/inc/Imt.Base.Dff.ActiveParts/PortInput.h>

Inheritance diagram for imt::base::dff::activeparts::PortInput:
imt::base::dff::activeparts::ReceiverIfc imt::base::core::platform::Nonmovable

Public Member Functions

 PortInput ()=default
 Constructor.
 
void receive (uint16_t const protocolIdentifier, ::imt::base::core::serialization::SerializableIfc const *const pEventData, size_t const eventDataSizeBytes) const final
 
::imt::base::dff::runtime::RuntimeCore::CoreHandle getReceiveHandle () const final
 
::imt::base::dff::runtime::RuntimePriority getReceivePriority () const final
 
void registerActivePart (::imt::base::dff::runtime::ExecutableIfc &activePart)
 Register run method of ActivePart in RuntimeCore.
 
virtual void receive (uint16_t const protocolIdentifier, ::imt::base::core::serialization::SerializableIfc const *const pEventData, size_t const eventDataSizeBytes) const =0
 Method called whenever a message shall be received.
 
virtual ::imt::base::dff::runtime::RuntimeCore::CoreHandle getReceiveHandle () const =0
 Get the handle of this input.
 
virtual ::imt::base::dff::runtime::RuntimePriority getReceivePriority () const =0
 Get the priority of this input.
 

Additional Inherited Members

- Protected Member Functions inherited from imt::base::dff::activeparts::ReceiverIfc
 ReceiverIfc () noexcept=default
 
 ReceiverIfc (ReceiverIfc const &) noexcept=delete
 
 ReceiverIfc (ReceiverIfc &&) noexcept=delete
 
 ~ReceiverIfc () noexcept=default
 
ReceiverIfcoperator= (ReceiverIfc const &) &noexcept=delete
 
ReceiverIfcoperator= (ReceiverIfc &&) &noexcept=delete
 

Detailed Description

Messages can be received on the input port.

Each ActivePart has exactly one input port where all messages are enqueued.

Definition at line 56 of file PortInput.h.

Constructor & Destructor Documentation

◆ PortInput()

imt::base::dff::activeparts::PortInput::PortInput ( )
default

Constructor.

Member Function Documentation

◆ getReceiveHandle()

::imt::base::dff::runtime::RuntimeCore::CoreHandle imt::base::dff::activeparts::PortInput::getReceiveHandle ( ) const
finalvirtual

◆ getReceivePriority()

::imt::base::dff::runtime::RuntimePriority imt::base::dff::activeparts::PortInput::getReceivePriority ( ) const
finalvirtual

◆ receive()

void imt::base::dff::activeparts::PortInput::receive ( uint16_t const  protocolIdentifier,
::imt::base::core::serialization::SerializableIfc const *const  pEventData,
size_t const  eventDataSizeBytes 
) const
finalvirtual

◆ registerActivePart()

void imt::base::dff::activeparts::PortInput::registerActivePart ( ::imt::base::dff::runtime::ExecutableIfc activePart)

Register run method of ActivePart in RuntimeCore.

Parameters
activePartActive part to register.

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