Go to Overview over all GrAL packages.
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

IO/multi-istream-control-device.h

Go to the documentation of this file.
00001 #ifndef NMWR_GB_MULTI_ISTREAM_CONTROL_DEVICE_H
00002 #define NMWR_GB_MULTI_ISTREAM_CONTROL_DEVICE_H
00003 
00004 // $LICENSE
00005 
00006 
00007 #include "IO/istream-control-device.h"
00008 
00009 class multi_istream_control_device 
00010   : public istream_control_device_impl {
00011   
00012   typedef istream_control_device_impl base;
00013 public:
00014   multi_istream_control_device(std::istream* i1, std::istream* i2,
00015                                const std::string& nm,
00016                                const std::string& ind = "")
00017     : base(i1,nm,ind), in2(i2)  {}
00018 
00019   virtual void update() {
00020     base::update();  
00021     MV.ReadValues(*in2);
00022   }
00023 
00024 private:
00025  std::istream* in2;
00026 };
00027 
00028 #endif

Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 15:57:06 2002 for External control by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000