istream_control_device_impl Class Reference

#include <istream-control-device.h>

Inheritance diagram for istream_control_device_impl:
control_device_impl controlable multi_istream_control_device

List of all members.

Public Member Functions

 istream_control_device_impl (std::istream *i, const std::string &nm, const std::string &ind="")
virtual ~istream_control_device_impl ()
istream_control_device_implget_sub_device (const std::string &nm)
virtual std::string name () const
virtual void update ()
virtual void add (const std::string &name, Mutator *value)
virtual void register_at (ControlDevice &Ctrl)
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
virtual void attach_to (std::istream &in_new)
virtual void print_values (std::ostream &out) const
virtual void print_values (std::ostream &out, const std::string &ind) const
virtual void read (std::istream &in)
virtual void print (std::ostream &out) const
virtual void print_unrecognized (std::ostream &out) const

Protected Attributes

std::istream * in
std::string name_
std::string indent_
MutableVars MV

Friends

std::istream & operator>> (std::istream &in, self &rhs)
std::ostream & operator<< (std::ostream &out, const self &rhs)

Constructor & Destructor Documentation

istream_control_device_impl::istream_control_device_impl ( std::istream *  i,
const std::string &  nm,
const std::string &  ind = "" 
) [inline]

Referenced by update().

virtual istream_control_device_impl::~istream_control_device_impl (  )  [inline, virtual]

Member Function Documentation

virtual void istream_control_device_impl::add ( const std::string &  name,
Mutator value 
) [inline, virtual]

Implements control_device_impl.

References name_.

virtual void istream_control_device_impl::attach_to ( std::istream &  in_new  )  [inline, virtual]

Implements control_device_impl.

istream_control_device_impl* istream_control_device_impl::get_sub_device ( const std::string &  nm  )  [inline, virtual]

Implements control_device_impl.

virtual std::string istream_control_device_impl::name (  )  const [inline, virtual]

Implements control_device_impl.

Referenced by print_unrecognized().

void istream_control_device_impl::print ( std::ostream &  out  )  const [virtual]

References indent_, and print_values().

void istream_control_device_impl::print_unrecognized ( std::ostream &  out  )  const [virtual]
virtual void istream_control_device_impl::print_values ( std::ostream &  out,
const std::string &  ind 
) const [inline, virtual]
virtual void istream_control_device_impl::print_values ( std::ostream &  out  )  const [inline, virtual]

Implements control_device_impl.

Referenced by print().

void istream_control_device_impl::read ( std::istream &  in  )  [virtual]
virtual void istream_control_device_impl::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline, virtual]

Reimplemented from controlable.

References MutableVars::AddVariable(), and MV.

virtual void istream_control_device_impl::register_at ( ControlDevice Ctrl  )  [inline, virtual]

Reimplemented from controlable.

virtual void istream_control_device_impl::update (  )  [inline, virtual]

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const self rhs 
) [friend]
std::istream& operator>> ( std::istream &  in,
self rhs 
) [friend]

Member Data Documentation

std::istream* istream_control_device_impl::in [protected]

Referenced by update().

std::string istream_control_device_impl::indent_ [protected]

Referenced by print(), and update().

std::string istream_control_device_impl::name_ [protected]

Referenced by add().


The documentation for this class was generated from the following files:
Generated on Thu Jun 30 02:19:01 2016 for AMROC's Parameter IO by  doxygen 1.6.3