Last change
on this file since 140 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
586 bytes
|
Line | |
---|
1 | #ifndef ENVIRONMENT_TTY_H |
---|
2 | #define ENVIRONMENT_TTY_H |
---|
3 | |
---|
4 | #include "TTY_Parameters.h" |
---|
5 | #include "xTTY.h" |
---|
6 | // #include <fcntl.h> |
---|
7 | // #include <unistd.h> |
---|
8 | #include <signal.h> |
---|
9 | |
---|
10 | namespace environment { |
---|
11 | namespace tty { |
---|
12 | |
---|
13 | class TTY |
---|
14 | { |
---|
15 | private : std::string name; |
---|
16 | private : Parameters * param; |
---|
17 | private : xTTY * xtty; |
---|
18 | |
---|
19 | public : TTY (std::string name, |
---|
20 | Parameters * param); |
---|
21 | public : ~TTY (void); |
---|
22 | |
---|
23 | public : void reset (void); |
---|
24 | public : bool write (uint32_t num_tty, char data); |
---|
25 | public : friend std::ostream& operator<< (std::ostream& output, TTY & x); |
---|
26 | }; |
---|
27 | |
---|
28 | }; |
---|
29 | }; |
---|
30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.