Top-level interface for a specific channel instance.
Definition at line 56 of file Channel.hpp.
Classes | |
class | Consumer |
class | PacketPool |
class | Producer |
class | SyncClient |
class | SyncSignaler |
class | SyncWaiter |
Public Member Functions | |
virtual dwStatus | connect (dwTime_t timeout)=0 |
virtual void | connectEndpoint (const char *nvsciipcEndpoint)=0 |
virtual void | disconnectEndpoint (const char *nvsciipcEndpoint)=0 |
virtual Consumer * | getConsumer (GenericDataReference ref)=0 |
virtual const ChannelParams & | getParams () const =0 |
virtual Producer * | getProducer (GenericDataReference ref)=0 |
virtual bool | hasClients () const =0 |
virtual bool | isConnected () const =0 |
virtual | ~ChannelObject ()=default |
|
virtualdefault |
|
pure virtual |
Establish connection over the channel's protocol.
[in] | timeout | The maximum time to attempt connection. timeout of zero implies to do most atomic connection attempt. |
|
pure virtual |
Connect consumer endpoint
|
pure virtual |
Disconnect consumer endpoint
|
pure virtual |
Register a consumer client.
[in] | ref | A reference for the data to be transfered over the channel |
if | parameters disallow consumer role. |
Referenced by dw::framework::PortInput< T >::bindChannel().
|
pure virtual |
Get the parameters for this channel
Referenced by dw::framework::PortInput< T >::bindChannel(), and dw::framework::PortOutput< T >::bindChannelWithReference().
|
pure virtual |
Register a producer client.
[in] | ref | A reference for the data to be transfered over the channel |
if | parameters disallow producer role. |
Referenced by dw::framework::PortOutput< T >::bindChannelWithReference().
|
pure virtual |
Query if the channel has any clients
|
pure virtual |
Query if the channel and its client interfaces are connected to downstream/upstream channels and are ready for use