#include <istream-control-device.h>
Inheritance diagram for istream_control_device_impl:
Public Methods | |
istream_control_device_impl (std::istream *i, std::string const &nm, std::string const &ind="") | |
control_device_impl * | get_sub_device (std::string const &nm) |
virtual std::string | name () const |
virtual void | update () |
virtual void | add (const std::string &name, Mutator *value) |
virtual void | register_at (ControlDevice &Ctrl) |
expose internal data to ControlDevice Ctrl. More... | |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
expose internal data to ControlDevice Ctrl, prepending prefix to the name. More... | |
virtual void | attach_to (std::istream &in_new) |
virtual void | print_values (std::ostream &out) const |
virtual void | print_values (std::ostream &out, std::string const &ind) const |
virtual void | read (std::istream &in) |
virtual void | print (std::ostream &out) const |
virtual void | print_unrecognized (std::ostream &out) const |
virtual void | print_unrecognized (std::ostream &out, std::string const &prefix) const |
Protected Attributes | |
std::istream * | in |
std::string | name_ |
std::string | indent_ |
MutableVars | MV |
std::list< self * > | sub_devices_ |
Friends | |
std::istream & | operator>> (std::istream &in, self &rhs) |
std::ostream & | operator<< (std::ostream &out, const self &rhs) |
|
Definition at line 8 of file istream-control-device.C. Referenced by get_sub_device. |
|
Implements control_device_impl. Definition at line 41 of file istream-control-device.C. References add, GetMutator, in, indent_, istream_control_device_impl, and sub_devices_. |
|
Implements control_device_impl. Definition at line 13 of file istream-control-device.C. References name_. Referenced by add, print_unrecognized, read, and register_at. |
|
Implements control_device_impl. Reimplemented in multi_istream_control_device. Definition at line 15 of file istream-control-device.C. References in, MV, and MutableVars::ReadValues. |
|
Definition at line 17 of file istream-control-device.C. References MutableVars::AddVariable, MV, and name. Referenced by get_sub_device. |
|
expose internal data to ControlDevice Ctrl.
Reimplemented from controlable. Definition at line 20 of file istream-control-device.C. |
|
expose internal data to ControlDevice Ctrl, prepending prefix to the name.
Reimplemented from controlable. Definition at line 22 of file istream-control-device.C. References ControlDevice::add, GetMutator, and name. |
|
Implements control_device_impl. Definition at line 28 of file istream-control-device.C. References in. |
|
Implements control_device_impl. Definition at line 30 of file istream-control-device.C. References MV, and MutableVars::PrintValues. Referenced by print. |
|
Definition at line 32 of file istream-control-device.C. References MV, and MutableVars::PrintValues. |
|
Definition at line 49 of file istream-control-device.C. References in, MV, name, print_unrecognized, MutableVars::ReadVariable, and skip_comment. |
|
Definition at line 72 of file istream-control-device.C. References indent_, and print_values. |
|
Implements control_device_impl. Definition at line 78 of file istream-control-device.C. Referenced by read. |
|
Implements control_device_impl. Definition at line 81 of file istream-control-device.C. References MutableVars::HasUnrecognized, MV, name, MutableVars::PrintUnrecognized, and sub_devices_. |
|
Definition at line 43 of file istream-control-device.h. |
|
Definition at line 45 of file istream-control-device.h. |
|
Definition at line 49 of file istream-control-device.h. Referenced by attach_to, get_sub_device, read, and update. |
|
Definition at line 50 of file istream-control-device.h. Referenced by name. |
|
Definition at line 51 of file istream-control-device.h. Referenced by get_sub_device, and print. |
|
Definition at line 52 of file istream-control-device.h. Referenced by add, print_unrecognized, print_values, read, update, and multi_istream_control_device::update. |
|
Definition at line 53 of file istream-control-device.h. Referenced by get_sub_device, and print_unrecognized. |