libpsynth 0.2.1
Public Types | Public Member Functions | Friends
psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false > Class Template Reference

Models a constant subbyte sample reference whose bit offset is a runtime parameter. More...

#include <sample.hpp>

Inheritance diagram for psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >:
Inheritance graph
[legend]
Collaboration diagram for psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef const
packed_dynamic_sample_reference
< BitField, NumBits, false > 
const_reference
typedef const
packed_dynamic_sample_reference
< BitField, NumBits, true > 
mutable_reference
typedef parent_t::integer_t integer_t

Public Member Functions

 packed_dynamic_sample_reference (const void *data_ptr, unsigned first_bit)
 packed_dynamic_sample_reference (const const_reference &ref)
 packed_dynamic_sample_reference (const mutable_reference &ref)
unsigned first_bit () const
integer_t get () const

Friends

class packed_dynamic_sample_reference< BitField, NumBits, true >

Detailed Description

template<typename BitField, int NumBits>
class psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >

Models a constant subbyte sample reference whose bit offset is a runtime parameter.

Models SampleConcept

Same as packed_sample_reference, except that the offset is a runtime parameter


Member Typedef Documentation

template<typename BitField , int NumBits>
typedef const packed_dynamic_sample_reference<BitField, NumBits, false> psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >::const_reference
template<typename BitField , int NumBits>
typedef parent_t::integer_t psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >::integer_t
template<typename BitField , int NumBits>
typedef const packed_dynamic_sample_reference<BitField,NumBits,true> psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >::mutable_reference

Constructor & Destructor Documentation

template<typename BitField , int NumBits>
psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >::packed_dynamic_sample_reference ( const void *  data_ptr,
unsigned  first_bit 
) [inline]
template<typename BitField , int NumBits>
psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >::packed_dynamic_sample_reference ( const const_reference ref) [inline]
template<typename BitField , int NumBits>
psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >::packed_dynamic_sample_reference ( const mutable_reference ref) [inline]

Member Function Documentation

template<typename BitField , int NumBits>
unsigned psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >::first_bit ( ) const [inline]
template<typename BitField , int NumBits>
integer_t psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >::get ( ) const [inline]

Friends And Related Function Documentation

template<typename BitField , int NumBits>
friend class packed_dynamic_sample_reference< BitField, NumBits, true > [friend]

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