WvStreams
wvsubprocqueuestream.h
1 /* -*- Mode: C++ -*-
2  * Worldvisions Weaver Software:
3  * Copyright (C) 1997-2002 Net Integration Technologies, Inc.
4  */
5 #ifndef __WVSUBPROCQUEUESTREAM_H
6 #define __WVSUBPROCQUEUESTREAM_H
7 
8 #include "wvsubprocqueue.h"
9 #include "wvlog.h"
10 
16 {
17 public:
18  WvSubProcQueueStream(int _maxrunning);
19  virtual ~WvSubProcQueueStream();
20 
21  virtual void execute();
22 
23 private:
24  WvLog log;
25 
26 public:
27  const char *wstype() const { return "WvSubProcQueueStream"; }
28 };
29 
30 #endif // __WVSUBPROCQUEUESTREAM_H
virtual void execute()
The callback() function calls execute(), and then calls the user- specified callback if one is define...
A variant of WvSubProcQueue that can be added to a WvStreamList so that WvSubProcQueue::go() gets cal...
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
Definition: wvstream.h:24
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's...
Definition: wvlog.h:56
An ordered queue of WvSubProc instances.