2 * Worldvisions Weaver Software:
3 * Copyright (C) 1997-2004 Net Integration Technologies, Inc.
5 #ifndef __WVMAGICLOOPBACK_H
6 #define __WVMAGICLOOPBACK_H
8 #include "wvmagiccircle.h"
9 #include "wvloopback.h"
11 class WvMagicLoopback
: public WvStream
15 WvMagicLoopback(size_t size
);
17 virtual void pre_select(SelectInfo
&si
);
18 virtual bool post_select(SelectInfo
&si
);
20 virtual size_t uread(void *buf
, size_t len
);
21 virtual size_t uwrite(const void *buf
, size_t len
);
29 const char *wstype() const { return "WvMagicLoopback"; }
32 #endif // __WVMAGICLOOPBACK_H