WvStreams
include/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
15class WvSubProcQueueStream : public WvStream, public WvSubProcQueue
16{
17public:
18 WvSubProcQueueStream(int _maxrunning);
19 virtual ~WvSubProcQueueStream();
20
21 virtual void execute();
22
23private:
24 WvLog log;
25
26public:
27 const char *wstype() const { return "WvSubProcQueueStream"; }
28};
29
30#endif // __WVSUBPROCQUEUESTREAM_H
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's.
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
A variant of WvSubProcQueue that can be added to a WvStreamList so that WvSubProcQueue::go() gets cal...
virtual void execute()
The callback() function calls execute(), and then calls the user- specified callback if one is define...