00001 /* 00002 * Worldvisions Weaver Software: 00003 * Copyright (C) 1997-2002 Net Integration Technologies, Inc. 00004 */ 00005 #ifndef __WVSTREAMLIST_H 00006 #define __WVSTREAMLIST_H 00007 00008 #include "wvstream.h" 00009 00013 DeclareWvList3(WvStream, WvStreamListBase, ); 00014 00019 class WvStreamList : public WvStream, public WvStreamListBase 00020 { 00021 public: 00022 WvStreamList(); 00023 virtual ~WvStreamList(); 00024 virtual bool isok() const; 00025 virtual bool pre_select(SelectInfo &si); 00026 virtual bool post_select(SelectInfo &si); 00027 virtual void execute(); 00028 00029 bool auto_prune; // remove !isok() streams from the list automatically? 00030 00031 protected: 00032 WvStreamListBase sure_thing; 00033 }; 00034 00035 #endif // __WVSTREAMLIST_H