Compute Graph Framework SDK Reference  5.8
dw::framework::ChannelConnector Class Reference

Detailed Description

Definition at line 46 of file ChannelConnector.hpp.

Public Types

using OnChannelsConnected = dw::core::Function< void()>
 

Public Member Functions

dwStatus addChannel (std::shared_ptr< ChannelObject > channel)
 
 ChannelConnector (size_t numChannels=DEFAULT_MAX_CHANNELS)
 
void logUnconnectedChannels ()
 
void setOnChannelsConnected (OnChannelsConnected onChannelsConnected)
 
void start ()
 
void stop ()
 
bool waitUntilConnected (dwTime_t timeout)
 
 ~ChannelConnector ()
 

Static Public Attributes

static constexpr uint32_t DEFAULT_MAX_CHANNELS = 512
 

Member Typedef Documentation

◆ OnChannelsConnected

using dw::framework::ChannelConnector::OnChannelsConnected = dw::core::Function<void()>

Definition at line 50 of file ChannelConnector.hpp.

Constructor & Destructor Documentation

◆ ChannelConnector()

dw::framework::ChannelConnector::ChannelConnector ( size_t  numChannels = DEFAULT_MAX_CHANNELS)
explicit

◆ ~ChannelConnector()

dw::framework::ChannelConnector::~ChannelConnector ( )

Member Function Documentation

◆ addChannel()

dwStatus dw::framework::ChannelConnector::addChannel ( std::shared_ptr< ChannelObject channel)

◆ logUnconnectedChannels()

void dw::framework::ChannelConnector::logUnconnectedChannels ( )

◆ setOnChannelsConnected()

void dw::framework::ChannelConnector::setOnChannelsConnected ( OnChannelsConnected  onChannelsConnected)

◆ start()

void dw::framework::ChannelConnector::start ( )

◆ stop()

void dw::framework::ChannelConnector::stop ( )

◆ waitUntilConnected()

bool dw::framework::ChannelConnector::waitUntilConnected ( dwTime_t  timeout)

Member Data Documentation

◆ DEFAULT_MAX_CHANNELS

constexpr uint32_t dw::framework::ChannelConnector::DEFAULT_MAX_CHANNELS = 512
staticconstexpr

Definition at line 49 of file ChannelConnector.hpp.


The documentation for this class was generated from the following file: