Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. C/C++
  4. Comms
  5. pw_channel
  6. pw::channel::ChannelImpl< kDataType, kProperties > Class Template Reference
Loading...
Searching...
No Matches
pw::channel::ChannelImpl< kDataType, kProperties > Class Template Reference

Overview

template<DataType kDataType, Property... kProperties>
class pw::channel::ChannelImpl< kDataType, kProperties >

Extend ChannelImpl to implement a channel with the specified properties. Unavailable methods on the channel will be stubbed out.

Alternately, inherit from pw::channel::Implement with a channel reader/writer alias as the template parameter.

A ChannelImpl has a corresponding Channel type (ChannelImpl<>::Channel). Call the channel() method to convert the ChannelImpl to its corresponding Channel.

Deprecated:
pw_channel is deprecated; use pw::transport::Socket or pw::transport::ReliableSocket.

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