Child interface to produce packets on the channel
Definition at line 149 of file Channel.hpp.
Public Member Functions | |
virtual dwStatus | get (GenericData *data)=0 |
virtual dwStatus | send (void *data)=0 |
Public Member Functions inherited from dw::framework::ChannelObject::PacketPool | |
SyncSignaler & | getSyncSignaler () |
SyncWaiter & | getSyncWaiter () |
virtual void | setOnDataReady (void *opaque, OnDataReady onDataReady)=0 |
virtual dwStatus | wait (dwTime_t timeout)=0 |
Additional Inherited Members | |
Public Types inherited from dw::framework::ChannelObject::PacketPool | |
using | OnDataReady = dw::core::Function< void()> |
|
pure virtual |
Get writeable packet
[out] | data | The packet information is returned here on DW_SUCCESS. |
Referenced by dw::framework::PortOutput< T >::getFreeElement().
|
pure virtual |
Send packet
[in] | data | The packet data to be sent, must have come from get() call to the same instance. On DW_SUCCESS, write access is relinquished. |
Referenced by dw::framework::PortOutput< T >::send().