Derived ManagedPortOutput<T> provides type-specific interfaces for accessing buffers.
Definition at line 370 of file ManagedPort.hpp.
Public Member Functions | |
auto | getBuffer () |
template<typename T2 = T, typename std::enable_if_t< parameter_traits< T2 >::PacketTID==DWFRAMEWORK_PACKET_ID_DEFAULT, void > * = nullptr> | |
ManagedPortOutput () | |
template<typename T2 = T, typename std::enable_if_t< parameter_traits< T2 >::PacketTID==DWFRAMEWORK_PACKET_ID_DEFAULT, void > * = nullptr> | |
ManagedPortOutput (ConstructProperties props) | |
template<typename T2 = T, typename std::enable_if_t< parameter_traits< T2 >::PacketTID !=DWFRAMEWORK_PACKET_ID_DEFAULT, void > * = nullptr> | |
ManagedPortOutput (ConstructProperties props, SpecimenT &ref) | |
template<typename T2 = T, typename std::enable_if_t< parameter_traits< T2 >::PacketTID !=DWFRAMEWORK_PACKET_ID_DEFAULT, void > * = nullptr> | |
ManagedPortOutput (SpecimenT &ref) | |
![]() | |
void | acquire () |
void | bindChannel (ChannelObject *channel) override |
ChannelMetadata & | getMetadata () |
const Properties & | getProperties () const noexcept |
bool | isBound () const noexcept override |
bool | isBufferAvailable () const noexcept |
void | reset () override |
void | send () |
void | sendAdvTimestamp () |
void | setCallbackBeforeSend (dw::core::Function< dwStatus()> callback) |
![]() | |
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 |
![]() | |
virtual | ~PortBase ()=default |
Additional Inherited Members | |
![]() | |
GenericData | getBufferGeneric () |
ManagedPortOutputBase (ConstructProperties props, GenericDataReference &&ref) | |
![]() | |
ChannelObject * | m_channel |
uint32_t | m_cycleCount |
dw::framework::lockstep::ILockstepSyncClient * | m_lockstepSyncClient |
uint32_t | m_period |
|
inline |
[in] | props | the properties of the output Port. |
[in] | ref | the reference data to be used by channel to allocate packets. |
Definition at line 385 of file ManagedPort.hpp.
|
inline |
[in] | ref | the reference data to be used by channel to allocate packets. |
Definition at line 395 of file ManagedPort.hpp.
|
inline |
[in] | props | the properties of the output Port. |
Definition at line 404 of file ManagedPort.hpp.
|
inline |
Definition at line 410 of file ManagedPort.hpp.
|
inline |
Get a pointer to the acquired buffer.
when | the buffer cannot be cast to T. |
Definition at line 420 of file ManagedPort.hpp.