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

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

#include <control.hpp>

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

List of all members.

Public Member Functions

virtual void str (const std::string &s)=0
template<typename T >
get () const
template<typename T >
const T & rt_get () const
template<typename T >
void set (const T &)

Protected Member Functions

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

Detailed Description

Base class providing runtime polymorphic access to input 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::in_control_base::in_control_base ( const std::string &  name,
node owner 
) [protected]

Member Function Documentation

template<typename T >
T psynth::graph::in_control_base::get ( ) const
template<typename T >
const T& psynth::graph::in_control_base::rt_get ( ) const
template<typename T >
void psynth::graph::in_control_base::set ( const T &  )
virtual void psynth::graph::in_control_base::str ( const std::string &  s) [pure virtual]

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