libpsynth 0.2.1
Public Member Functions | Protected Member Functions
psynth::graph::out_control_base Class Reference

Base class providing runtime polymorphic access to output controls. More...

#include <control.hpp>

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

List of all members.

Public Member Functions

template<typename T >
get () const
template<typename T >
const T & rt_get () const
template<typename T >
void rt_set (const T &, rt_process_context &ctx)

Protected Member Functions

 out_control_base (const std::string &name, node *owner)

Detailed Description

Base class providing runtime polymorphic access to output controls.

Note:
The implementation of the get and set methods relies on boost::polymorphic_downcast<control<T>*> (this) workin when it matches.

Constructor & Destructor Documentation

psynth::graph::out_control_base::out_control_base ( const std::string &  name,
node owner 
) [protected]

Member Function Documentation

template<typename T >
T psynth::graph::out_control_base::get ( ) const
template<typename T >
const T& psynth::graph::out_control_base::rt_get ( ) const
template<typename T >
void psynth::graph::out_control_base::rt_set ( const T &  ,
rt_process_context ctx 
)

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