Ardour  9.0-pre0-582-g084a23a80d
AudioGrapher::FlagDebuggable< L > Class Template Reference

A debugging class for nodes that support a certain set of flags. More...

#include <flag_debuggable.h>

Inheritance diagram for AudioGrapher::FlagDebuggable< L >:
[legend]

Public Types

typedef FlagField::Flag Flag
 

Protected Member Functions

void add_supported_flag (Flag flag)
 Adds a flag to the set of flags supported. More...
 
template<typename SelfType , typename ContextType >
void check_flags (SelfType &self, ProcessContext< ContextType > context)
 Prints debug output if context contains flags that are not supported by this class. More...
 
- Protected Member Functions inherited from AudioGrapher::Debuggable< DebugNone >
 Debuggable (std::ostream &debug_stream=std::cerr)
 
bool debug_level (DebugLevel level)
 
std::ostream & debug_stream ()
 

Private Attributes

FlagField flags
 

Detailed Description

template<DebugLevel L = DebugNone>
class AudioGrapher::FlagDebuggable< L >

A debugging class for nodes that support a certain set of flags.

Definition at line 15 of file flag_debuggable.h.

Member Typedef Documentation

◆ Flag

template<DebugLevel L = DebugNone>
typedef FlagField::Flag AudioGrapher::FlagDebuggable< L >::Flag

Definition at line 18 of file flag_debuggable.h.

Member Function Documentation

◆ add_supported_flag()

template<DebugLevel L = DebugNone>
void AudioGrapher::FlagDebuggable< L >::add_supported_flag ( Flag  flag)
inlineprotected

Adds a flag to the set of flags supported.

Definition at line 23 of file flag_debuggable.h.

◆ check_flags()

template<DebugLevel L = DebugNone>
template<typename SelfType , typename ContextType >
void AudioGrapher::FlagDebuggable< L >::check_flags ( SelfType &  self,
ProcessContext< ContextType >  context 
)
inlineprotected

Prints debug output if context contains flags that are not supported by this class.

Definition at line 30 of file flag_debuggable.h.

Member Data Documentation

◆ flags

template<DebugLevel L = DebugNone>
FlagField AudioGrapher::FlagDebuggable< L >::flags
private

Definition at line 45 of file flag_debuggable.h.


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