Ardour
9.0-pre0-582-g084a23a80d
|
#include <process_context.h>
Public Types | |
enum | Flags { EndOfInput = 0 } |
typedef FlagField::Flag | Flag |
Public Member Functions | |
ProcessContext (T *data, samplecnt_t samples, ChannelCount channels) | |
Basic constructor with data, sample and channel count. More... | |
ProcessContext (ProcessContext< T > const &other) | |
Normal copy constructor. More... | |
template<typename Y > | |
ProcessContext (ProcessContext< Y > const &other, T *data, samplecnt_t samples, ChannelCount channels) | |
"Copy constructor" with unique data, sample and channel count, but copies flags More... | |
template<typename Y > | |
ProcessContext (ProcessContext< Y > const &other, T *data, samplecnt_t samples) | |
"Copy constructor" with unique data and sample count, but copies channel count and flags More... | |
template<typename Y > | |
ProcessContext (ProcessContext< Y > const &other, T *data) | |
"Copy constructor" with unique data, but copies sample and channel count + flags More... | |
ProcessContext | beginning (samplecnt_t samples) |
Make new Context out of the beginning of this context. More... | |
virtual | ~ProcessContext () |
T const * | data () const |
data points to the array of data to process More... | |
T * | data () |
samplecnt_t const & | samples () const |
samples tells how many samples the array pointed by data contains More... | |
ChannelCount const & | channels () const |
samplecnt_t | samples_per_channel () const |
Returns the amount of samples per channel. More... | |
bool | has_flag (Flag flag) const |
void | set_flag (Flag flag) const |
void | remove_flag (Flag flag) const |
FlagField const & | flags () const |
Protected Attributes | |
T *const | _data |
samplecnt_t | _samples |
ChannelCount | _channels |
FlagField | _flags |
Private Member Functions | |
void | validate_data () |
Static Private Attributes | |
static const ThrowLevel | throwLevel = ThrowStrict |
Additional Inherited Members | |
Protected Member Functions inherited from AudioGrapher::Throwing< L > | |
Throwing () | |
bool | throw_level (ThrowLevel level) |
Processing context. Constness only applies to data, not flags
Definition at line 23 of file process_context.h.
typedef FlagField::Flag AudioGrapher::ProcessContext< T >::Flag |
Definition at line 34 of file process_context.h.
enum AudioGrapher::ProcessContext::Flags |
Enumerator | |
---|---|
EndOfInput |
Definition at line 36 of file process_context.h.
|
inline |
Basic constructor with data, sample and channel count.
Definition at line 43 of file process_context.h.
|
inline |
Normal copy constructor.
Definition at line 48 of file process_context.h.
|
inline |
"Copy constructor" with unique data, sample and channel count, but copies flags
Definition at line 54 of file process_context.h.
|
inline |
"Copy constructor" with unique data and sample count, but copies channel count and flags
Definition at line 60 of file process_context.h.
|
inline |
"Copy constructor" with unique data, but copies sample and channel count + flags
Definition at line 66 of file process_context.h.
|
inlinevirtual |
Definition at line 81 of file process_context.h.
|
inline |
Make new Context out of the beginning of this context.
Definition at line 71 of file process_context.h.
|
inline |
channels tells how many interleaved channels data contains If channels is greater than 1, each channel contains samples / channels samples of data
Definition at line 93 of file process_context.h.
|
inline |
Definition at line 85 of file process_context.h.
|
inline |
data points to the array of data to process
Definition at line 84 of file process_context.h.
|
inline |
Definition at line 103 of file process_context.h.
|
inline |
Definition at line 100 of file process_context.h.
|
inline |
Definition at line 102 of file process_context.h.
|
inline |
samples tells how many samples the array pointed by data contains
Definition at line 88 of file process_context.h.
|
inline |
Returns the amount of samples per channel.
Definition at line 96 of file process_context.h.
|
inline |
Definition at line 101 of file process_context.h.
|
inlineprivate |
Definition at line 113 of file process_context.h.
|
protected |
Definition at line 108 of file process_context.h.
|
protected |
Definition at line 106 of file process_context.h.
|
mutableprotected |
Definition at line 110 of file process_context.h.
|
protected |
Definition at line 107 of file process_context.h.
|
staticprivate |
Definition at line 28 of file process_context.h.