Base class encapsulates ownership of buffers and interactions with channel in type-agnostic way.
Definition at line 93 of file ManagedPort.hpp.


Classes | |
| struct | BoundProperties |
| struct | ConstructProperties |
| struct | Properties |
Public Member Functions | |
| void | acquire () |
| void | bindChannel (ChannelObject *channel) override |
| const Properties & | getProperties () const noexcept |
| bool | isBound () const noexcept override |
| bool | isBufferAvailable () const noexcept |
| void | send () |
Public Member Functions inherited from dw::framework::ManagedPortBase | |
| virtual void | bindChannel (ChannelObject *channel)=0 |
| 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) |
| virtual | ~ManagedPortBase ()=default |
Public Member Functions inherited from dw::framework::PortBase | |
| virtual | ~PortBase ()=default |
Protected Member Functions | |
| GenericData | getBufferGeneric () |
| ManagedPortOutputBase (ConstructProperties props, GenericDataReference &&ref) | |
Additional Inherited Members | |
Protected Attributes inherited from dw::framework::ManagedPortBase | |
| uint32_t | m_cycleCount |
| struct dw::framework::ManagedPortOutputBase::BoundProperties |
| struct dw::framework::ManagedPortOutputBase::ConstructProperties |
| struct dw::framework::ManagedPortOutputBase::Properties |

| Class Members | ||
|---|---|---|
| BoundProperties | boundProperties | |
| ConstructProperties | constructProperties | |
|
explicitprotected |
| void dw::framework::ManagedPortOutputBase::acquire | ( | ) |
Acquire a buffer from the channel.
| if | channel returns unexpected error. |
|
overridevirtual |
Implements dw::framework::ManagedPortBase.
|
protected |
|
noexcept |
|
overridevirtualnoexcept |
Implements dw::framework::ManagedPortBase.
|
noexcept |
| void dw::framework::ManagedPortOutputBase::send | ( | ) |
Send the buffer to downstream clients over the channel.
| if | channel returns unexpected errors. |