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

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

#include <control.hpp>

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

List of all members.

Public Member Functions

virtual ~control_base ()
virtual base::type_value type () const =0
virtual const control_metameta () const =0
virtual std::string str () const =0
const nodeowner () const
nodeowner ()
std::string name ()

Protected Member Functions

 control_base (const std::string &name, node *owner)
bool _has_owner () const

Protected Attributes

std::string _name
node_owner

Detailed Description

Base class providing runtime polymorphic access to controls.

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

Constructor & Destructor Documentation

virtual psynth::graph::control_base::~control_base ( ) [inline, virtual]
psynth::graph::control_base::control_base ( const std::string &  name,
node owner 
) [protected]

Member Function Documentation

bool psynth::graph::control_base::_has_owner ( ) const [inline, protected]
virtual const control_meta& psynth::graph::control_base::meta ( ) const [pure virtual]
std::string psynth::graph::control_base::name ( ) [inline]
node& psynth::graph::control_base::owner ( ) [inline]
const node& psynth::graph::control_base::owner ( ) const [inline]
virtual std::string psynth::graph::control_base::str ( ) const [pure virtual]
virtual base::type_value psynth::graph::control_base::type ( ) const [pure virtual]

Member Data Documentation

std::string psynth::graph::control_base::_name [protected]

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