acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
pipe.h
1#pragma once
2
3
4#include "acme/prototype/prototype/matter.h"
5
6
7namespace operating_system
8{
9
10
11 class CLASS_DECL_ACME pipe :
12 virtual public ::matter
13 {
14 public:
15
16
17 char_pointer m_pchBuf;
18 string m_strRead;
19
20 bool m_bInherit;
21 bool m_bBlock;
22
23
24 pipe();
25 virtual ~pipe();
26
27
28 virtual bool create(bool bBlock = true, bool bInherit = false);
29
30
31 virtual bool not_inherit_read();
32 virtual bool not_inherit_write();
33
34 virtual bool write(const ::scoped_string & scopedstr);
35 virtual string read();
36 virtual string one_pass_read();
37
38
39#ifdef WINDOWS
40
41 void readex();
42
43#endif
44
45
46
47 };
48
49
50} // namespace operating_system
51
52
53