libpsynth 0.2.1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
psynth::graph::basic_process_context Class Reference

#include <processor.hpp>

Inheritance diagram for psynth::graph::basic_process_context:
Inheritance graph
[legend]
Collaboration diagram for psynth::graph::basic_process_context:
Collaboration graph
[legend]

List of all members.

Public Member Functions

std::size_t block_size () const
std::size_t frame_rate () const

Protected Member Functions

 basic_process_context (std::size_t block_size, std::size_t frame_rate, std::size_t queue_size)
 Only processor can create instances.

Protected Attributes

rt_triple_buffer _rt_buffers
async_triple_buffer _async_buffers
std::size_t _block_size
std::size_t _frame_rate
std::thread _async_thread
std::condition_variable _async_cond
std::mutex _async_mutex
bool _async_request_flip

Friends

class processor

Constructor & Destructor Documentation

psynth::graph::basic_process_context::basic_process_context ( std::size_t  block_size,
std::size_t  frame_rate,
std::size_t  queue_size 
) [protected]

Only processor can create instances.


Member Function Documentation

std::size_t psynth::graph::basic_process_context::block_size ( ) const [inline]
std::size_t psynth::graph::basic_process_context::frame_rate ( ) const [inline]

Friends And Related Function Documentation

friend class processor [friend]

Member Data Documentation

std::condition_variable psynth::graph::basic_process_context::_async_cond [protected]

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