Utilities for initializing, copying, moving, etc. data.
More...
#include <type_utils.h>
|
typedef boost::integral_constant< bool, boost::is_floating_point< T >::value||boost::is_signed< T >::value > | zero_fillable |
|
|
template<typename T , bool b> |
static void | do_zero_fill (T *buffer, samplecnt_t samples, const boost::integral_constant< bool, b > &) |
|
template<typename T > |
static void | do_zero_fill (T *buffer, samplecnt_t samples, const boost::true_type &) |
|
template<typename T = DefaultSampleType>
class AudioGrapher::TypeUtils< T >
Utilities for initializing, copying, moving, etc. data.
Definition at line 32 of file type_utils.h.
◆ zero_fillable
template<typename T = DefaultSampleType>
◆ BOOST_STATIC_ASSERT()
template<typename T = DefaultSampleType>
◆ copy()
template<typename T = DefaultSampleType>
Copies samples frames of data from source to destination The source and destination may NOT overlap.
RT safe
Definition at line 52 of file type_utils.h.
◆ move()
template<typename T = DefaultSampleType>
Moves samples frames of data from source to destination The source and destination may overlap in any way.
RT safe
Definition at line 59 of file type_utils.h.
◆ zero_fill()
template<typename T = DefaultSampleType>
Fill buffer with a zero value The value used for filling is either 0 or the value of T() if T is not a floating point or signed integer type
RT safe
Definition at line 45 of file type_utils.h.
The documentation for this class was generated from the following file: