Derived ManagedPortInput<T> provides type-specific interfaces for accessing buffers.
Definition at line 509 of file ManagedPort.hpp.


Public Types | |
| using | UniquePacketPtr = std::unique_ptr< T, PacketDeleter > |
Public Types inherited from dw::framework::ManagedPortInputBase | |
| using | RingBuffer = dw::core::RingBuffer< GenericData > |
Public Member Functions | |
| detail::vectorIterable< T > | getAllBufferIter () |
| auto | getBuffer () -> T * |
| iterable | getBufferIter () |
| auto | getOptionalBuffer () -> T * |
| ManagedPortInput () | |
| ManagedPortInput (ConstructProperties props) | |
| ManagedPortInput (ConstructProperties props, SpecimenT specimen) | |
| UniquePacketPtr | takeOwnership () |
Public Member Functions inherited from dw::framework::ManagedPortInputBase | |
| void | bindChannel (ChannelObject *channel) override |
| dw::core::VectorFixed< GenericData > | getAllBuffers () |
| const ChannelMetadata & | getMetadata () |
| const Properties & | getProperties () const noexcept |
| bool | isBound () const noexcept override |
| bool | isBufferAvailable () const noexcept |
| void | recv () |
| void | release () |
| void | reset () override |
| void | sendAdvTimestamp () |
| void | setCallbackAfterRecv (dw::core::Function< dwStatus()> callback) |
Public Member Functions inherited from dw::framework::ManagedPortBase | |
| virtual void | bindChannel (ChannelObject *channel)=0 |
| void | bindLockstepSyncClient (dw::framework::lockstep::ILockstepSyncClient *syncClient) |
| ChannelObject * | getChannel () |
| virtual bool | isBound () const noexcept=0 |
| ManagedPortBase () | |
| ManagedPortBase (const ManagedPortBase &other)=delete | |
| ManagedPortBase (ManagedPortBase &&other)=delete | |
| ManagedPortBase & | operator= (const ManagedPortBase &other)=delete |
| ManagedPortBase & | operator= (ManagedPortBase &&other)=delete |
| virtual void | reset () |
| void | setCycleCount (uint32_t cycleCount) |
| void | setPeriod (uint32_t period) |
| virtual | ~ManagedPortBase ()=default |
Public Member Functions inherited from dw::framework::PortBase | |
| virtual | ~PortBase ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from dw::framework::ManagedPortInputBase | |
| GenericData | getBufferGeneric () const |
| ManagedPortInputBase (ConstructProperties props, GenericDataReference &&ref) | |
| GenericData | popBufferGeneric () |
| void | releaseToChannel (void *data) |
Protected Attributes inherited from dw::framework::ManagedPortInputBase | |
| RingBuffer | m_buffers |
| GenericData | m_stashedFuturePacket |
| bool | m_stashValid |
Protected Attributes inherited from dw::framework::ManagedPortBase | |
| ChannelObject * | m_channel |
| uint32_t | m_cycleCount |
| dw::framework::lockstep::ILockstepSyncClient * | m_lockstepSyncClient |
| uint32_t | m_period |
| using dw::framework::ManagedPortInput< T >::UniquePacketPtr = std::unique_ptr<T, PacketDeleter> |
Definition at line 579 of file ManagedPort.hpp.
|
inline |
| [in] | props | the properties of the input Port. |
Definition at line 525 of file ManagedPort.hpp.
|
inline |
Definition at line 530 of file ManagedPort.hpp.
|
inline |
Definition at line 535 of file ManagedPort.hpp.
|
inline |
iterable for all the buffers in the output channel pool.
Definition at line 543 of file ManagedPort.hpp.
|
inline |
Get a pointer to the first received buffer.
| when | the buffer cannot be cast to T. |
Definition at line 563 of file ManagedPort.hpp.
|
inline |
Get iterator over received buffers
Definition at line 553 of file ManagedPort.hpp.
|
inline |
For bind optional and buffer optional case Get a pointer to the first received buffer if the buffer available. Otherwise return nullptr.
| when | the buffer cannot be cast to T. |
Definition at line 574 of file ManagedPort.hpp.
|
inline |
Definition at line 581 of file ManagedPort.hpp.
References dw::framework::GenericData::getPointer().