6#ifndef LIBCWD_CLASS_CHANNEL_INL
7#define LIBCWD_CLASS_CHANNEL_INL
23 LIBCWD_TSD_DECLARATION;
24 NS_initialize(label, LIBCWD_TSD, add_to_channel_list);
29 return (__libcwd_tsd.off_cnt_array[index_] < 0);
37 LIBCWD_TSD_DECLARATION;
38 return is_on(LIBCWD_TSD);
Channel(char const *label, bool add_to_channel_list=true)
Construct a new debug channel with name label.
Definition Channel.inl.h:21
char const * get_label() const
Pointer to the label of the debug channel.
Definition Channel.inl.h:44
bool is_on() const
Returns true if the channel is active.
Definition Channel.inl.h:35