Envelope class for control_device_impl. More...
#include <control-device.h>
Public Member Functions | |
ControlDevice (control_device_impl *imp=0) | |
void | add (const std::string &nm, Mutator *value_ref) |
void | add (const char *nm, Mutator *value_ref) |
void | update () |
void | print_values (std::ostream &) const |
void | print_unrecognized (std::ostream &) const |
void | attach_to (std::istream &in) |
void | register_at (ControlDevice &, const std::string &prefix) |
std::string | name () const |
ControlDevice | getSubDevice (const std::string &name) |
ControlDevice | getSubDevice (const char *name) |
Envelope class for control_device_impl.
Interface for controlling parameters. Read from a file, set interactively via a GUI or a command interpreter.
ControlDevice::ControlDevice | ( | control_device_impl * | imp = 0 |
) | [inline] |
void ControlDevice::add | ( | const std::string & | nm, | |
Mutator * | value_ref | |||
) |
References control_device_impl::add().
Referenced by add(), and RegisterAt().
void ControlDevice::attach_to | ( | std::istream & | in | ) |
References control_device_impl::attach_to().
ControlDevice ControlDevice::getSubDevice | ( | const char * | name | ) |
References getSubDevice().
ControlDevice ControlDevice::getSubDevice | ( | const std::string & | name | ) |
References control_device_impl::get_sub_device(), and register_at().
Referenced by getSubDevice().
std::string ControlDevice::name | ( | ) | const |
References control_device_impl::name().
void ControlDevice::print_unrecognized | ( | std::ostream & | out | ) | const |
References control_device_impl::print_unrecognized().
Referenced by update().
void ControlDevice::print_values | ( | std::ostream & | out | ) | const |
References control_device_impl::print_values().
void ControlDevice::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) |
Referenced by getSubDevice().
void ControlDevice::update | ( | ) |
References print_unrecognized(), and control_device_impl::update().