#include <channel.h>
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
.