libpsynth 0.2.1
Public Member Functions | Protected Attributes
psynth::graph::watch_viewer< BufferType, RingBufferType > Class Template Reference

#include <watch_viewer.hpp>

Inheritance diagram for psynth::graph::watch_viewer< BufferType, RingBufferType >:
Inheritance graph
[legend]
Collaboration diagram for psynth::graph::watch_viewer< BufferType, RingBufferType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 watch_viewer (std::size_t points, std::size_t secs)
virtual void set_info (const audio_info &info)
virtual void update (const typename BufferType::const_range &buf)
const BufferType & get_buffer ()

Protected Attributes

RingBufferType m_ring
BufferType m_buffer
int m_points
float m_factor
float m_secs
bool m_updated
std::mutex m_mutex

template<class BufferType, class RingBufferType>
class psynth::graph::watch_viewer< BufferType, RingBufferType >


Constructor & Destructor Documentation

template<class BufferType, class RingBufferType>
psynth::graph::watch_viewer< BufferType, RingBufferType >::watch_viewer ( std::size_t  points,
std::size_t  secs 
) [inline]

Member Function Documentation

template<class BufferType, class RingBufferType>
const BufferType& psynth::graph::watch_viewer< BufferType, RingBufferType >::get_buffer ( ) [inline]
template<class BufferType, class RingBufferType>
virtual void psynth::graph::watch_viewer< BufferType, RingBufferType >::set_info ( const audio_info info) [inline, virtual]

Reimplemented from psynth::graph::watch.

Reimplemented in psynth::graph::watch_view_audio.

template<class BufferType, class RingBufferType>
virtual void psynth::graph::watch_viewer< BufferType, RingBufferType >::update ( const typename BufferType::const_range &  buf) [inline, virtual]

Member Data Documentation

template<class BufferType, class RingBufferType>
BufferType psynth::graph::watch_viewer< BufferType, RingBufferType >::m_buffer [protected]
template<class BufferType, class RingBufferType>
float psynth::graph::watch_viewer< BufferType, RingBufferType >::m_factor [protected]
template<class BufferType, class RingBufferType>
std::mutex psynth::graph::watch_viewer< BufferType, RingBufferType >::m_mutex [protected]
template<class BufferType, class RingBufferType>
int psynth::graph::watch_viewer< BufferType, RingBufferType >::m_points [protected]
template<class BufferType, class RingBufferType>
RingBufferType psynth::graph::watch_viewer< BufferType, RingBufferType >::m_ring [protected]
template<class BufferType, class RingBufferType>
float psynth::graph::watch_viewer< BufferType, RingBufferType >::m_secs [protected]
template<class BufferType, class RingBufferType>
bool psynth::graph::watch_viewer< BufferType, RingBufferType >::m_updated [protected]

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