libpsynth 0.2.1
Public Types | Public Member Functions | Friends
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable > Struct Template Reference

FrameBasedModel. More...

#include <bit_aligned_frame_reference.hpp>

Collaboration diagram for psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
psynth::sound::bit_range
< bit_size, IsMutable > 
bit_range_type
typedef BitField bitfield_type
typedef boost::mpl::if_c
< IsMutable, unsigned char
*, const unsigned char * >
::type 
data_ptr_type
typedef Layout layout
typedef packed_frame_type
< bitfield_type,
SampleBitSizes, Layout >::type 
value_type
typedef const
bit_aligned_frame_reference 
reference
typedef const
bit_aligned_frame_reference
< BitField, SampleBitSizes,
Layout, false > 
const_reference

Public Member Functions

 BOOST_STATIC_CONSTANT (int, bit_size=(boost::mpl::accumulate< SampleBitSizes, boost::mpl::int_< 0 >, boost::mpl::plus< boost::mpl::_1, boost::mpl::_2 > >::type::value))
 BOOST_STATIC_CONSTANT (bool, is_mutable=IsMutable)
 bit_aligned_frame_reference ()
 bit_aligned_frame_reference (data_ptr_type data_ptr, int bit_offset)
 bit_aligned_frame_reference (const bit_range_type &bit_range)
template<bool IsMutable2>
 bit_aligned_frame_reference (const bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable2 > &p)
 bit_aligned_frame_reference (const typename kth_element_type< bit_aligned_frame_reference, 0 >::type sample0)
 bit_aligned_frame_reference (const bit_aligned_frame_reference &p)
template<typename BF , typename CR >
 bit_aligned_frame_reference (packed_frame< BF, CR, Layout > &p)
const bit_aligned_frame_reference & operator= (const bit_aligned_frame_reference &p) const
template<typename P >
const bit_aligned_frame_reference & operator= (const P &p) const
template<typename P >
bool operator== (const P &p) const
template<typename P >
bool operator!= (const P &p) const
const bit_aligned_frame_reference * operator-> () const
const bit_range_type & bit_range () const

Friends

struct bit_aligned_frame_reference

Detailed Description

template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
struct psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >

FrameBasedModel.

Heterogeneous frame reference corresponding to non-byte-aligned bit range. Models ChannelBaseConcept, FrameConcept, FrameBasedConcept


Member Typedef Documentation

template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
typedef psynth::sound::bit_range<bit_size, IsMutable> psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bit_range_type
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
typedef BitField psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bitfield_type
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
typedef const bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, false> psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::const_reference
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
typedef boost::mpl::if_c<IsMutable, unsigned char*, const unsigned char*>::type psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::data_ptr_type
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
typedef Layout psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::layout
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
typedef const bit_aligned_frame_reference psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::reference
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
typedef packed_frame_type< bitfield_type, SampleBitSizes,Layout>::type psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::value_type

Constructor & Destructor Documentation

template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bit_aligned_frame_reference ( ) [inline]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bit_aligned_frame_reference ( data_ptr_type  data_ptr,
int  bit_offset 
) [inline]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bit_aligned_frame_reference ( const bit_range_type &  bit_range) [inline, explicit]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
template<bool IsMutable2>
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bit_aligned_frame_reference ( const bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable2 > &  p) [inline]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bit_aligned_frame_reference ( const typename kth_element_type< bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >, 0 >::type  sample0) [inline, explicit]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bit_aligned_frame_reference ( const bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable > &  p) [inline]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
template<typename BF , typename CR >
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bit_aligned_frame_reference ( packed_frame< BF, CR, Layout > &  p) [inline]

Member Function Documentation

template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
const bit_range_type& psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::bit_range ( ) const [inline]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::BOOST_STATIC_CONSTANT ( int  ,
bit_size  = (boost::mpl::accumulate< SampleBitSizes, boost::mpl::int_< 0 >, boost::mpl::plus< boost::mpl::_1, boost::mpl::_2 > >::type::value) 
)
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::BOOST_STATIC_CONSTANT ( bool  ,
is_mutable  = IsMutable 
)
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
template<typename P >
bool psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::operator!= ( const P &  p) const [inline]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
const bit_aligned_frame_reference* psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::operator-> ( ) const [inline]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
template<typename P >
const bit_aligned_frame_reference& psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::operator= ( const P &  p) const [inline]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
const bit_aligned_frame_reference& psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::operator= ( const bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable > &  p) const [inline]
template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
template<typename P >
bool psynth::sound::bit_aligned_frame_reference< BitField, SampleBitSizes, Layout, IsMutable >::operator== ( const P &  p) const [inline]

Friends And Related Function Documentation

template<typename BitField, typename SampleBitSizes, typename Layout, bool IsMutable>
friend struct bit_aligned_frame_reference [friend]

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