libpsynth 0.2.1
Public Types | Public Member Functions | Protected Member Functions
psynth::graph::core::async_output Class Reference

A node for outputing using a given device. More...

#include <async_output.hpp>

Inheritance diagram for psynth::graph::core::async_output:
Inheritance graph
[legend]
Collaboration diagram for psynth::graph::core::async_output:
Collaboration graph
[legend]

List of all members.

Public Types

typedef io::async_output_ptr
< audio_range > 
device_ptr

Public Member Functions

 async_output (device_ptr out=device_ptr())
void set_output (device_ptr out=device_ptr())
void start ()
void stop ()

Protected Member Functions

void rt_do_update_context (rt_process_context &ctx)
void rt_do_process (rt_process_context &ctx)

Detailed Description

A node for outputing using a given device.

The device is supposed to actively request new frames when needed using the process_node interface.

Note:
Once the device is bound to the output node, one should not use it directly, as that can lead to inconsistent state.

Member Typedef Documentation


Constructor & Destructor Documentation

psynth::graph::core::async_output::async_output ( device_ptr  out = device_ptr ())

Member Function Documentation

void psynth::graph::core::async_output::rt_do_process ( rt_process_context &  ctx) [protected, virtual]

Reimplemented from psynth::graph::node.

void psynth::graph::core::async_output::rt_do_update_context ( rt_process_context &  ctx) [protected]
void psynth::graph::core::async_output::set_output ( device_ptr  out = device_ptr ())
void psynth::graph::core::async_output::start ( ) [virtual]
void psynth::graph::core::async_output::stop ( ) [virtual]

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