]>
Commit | Line | Data |
---|---|---|
18284ae7 WW |
1 | #include "serial/impl/unix.h" |
2 | ||
3 | using namespace serial; | |
4 | ||
5 | Serial_pimpl::Serial_pimpl (const std::string &port, int baudrate, | |
6 | long timeout, bytesize_t bytesize, | |
7 | parity_t parity, stopbits_t stopbits, | |
8 | flowcontrol_t flowcontrol) | |
9 | : port(port), baudrate(baudrate), timeout(timeout), bytesize(bytesize), | |
10 | parity(parity), stopbits(stopbits), flowcontrol(flowcontrol) | |
11 | { | |
12 | ||
13 | } | |
14 | ||
15 | Serial_pimpl::~Serial_pimpl () { | |
16 | ||
17 | } | |
18 | ||
19 | void | |
20 | Serial_pimpl::open () { | |
21 | ||
22 | } | |
23 | ||
24 | void | |
25 | Serial_pimpl::close () { | |
26 | ||
27 | } | |
28 | bool | |
29 | Serial_pimpl::isOpen () { | |
30 | ||
31 | } | |
32 | ||
33 | size_t | |
34 | Serial_pimpl::read (unsigned char* buffer, size_t size = 1) { | |
35 | ||
36 | } | |
37 | ||
38 | std::string | |
39 | Serial_pimpl::read (size_t size = 1) { | |
40 | ||
41 | } | |
42 | ||
43 | size_t | |
44 | Serial_pimpl::read (std::string &buffer, size_t size = 1) { | |
45 | ||
46 | } | |
47 | ||
48 | size_t | |
49 | Serial_pimpl::write (unsigned char* data, size_t length) { | |
50 | ||
51 | } | |
52 | ||
53 | size_t | |
54 | Serial_pimpl::write (const std::string &data) { | |
55 | ||
56 | } | |
57 | ||
58 | void | |
59 | Serial_pimpl::setPort (const std::string &port) { | |
60 | ||
61 | } | |
62 | ||
63 | std::string | |
64 | Serial_pimpl::getPort () const { | |
65 | ||
66 | } | |
67 | ||
68 | void | |
69 | Serial_pimpl::setTimeout (long timeout) { | |
70 | ||
71 | } | |
72 | ||
73 | long | |
74 | Serial_pimpl::getTimeout () const { | |
75 | ||
76 | } | |
77 | ||
78 | void | |
79 | Serial_pimpl::setBaudrate (int baudrate) { | |
80 | ||
81 | } | |
82 | ||
83 | int | |
84 | Serial_pimpl::getBaudrate () const { | |
85 | ||
86 | } | |
87 | ||
88 | void | |
89 | Serial_pimpl::setBytesize (bytesize_t bytesize) { | |
90 | ||
91 | } | |
92 | ||
93 | bytesize_t | |
94 | Serial_pimpl::getBytesize () const { | |
95 | ||
96 | } | |
97 | ||
98 | void | |
99 | Serial_pimpl::setParity (parity_t parity) { | |
100 | ||
101 | } | |
102 | ||
103 | parity_t | |
104 | Serial_pimpl::getParity () const { | |
105 | ||
106 | } | |
107 | ||
108 | void | |
109 | Serial_pimpl::setStopbits (stopbits_t stopbits) { | |
110 | ||
111 | } | |
112 | ||
113 | stopbits_t | |
114 | Serial_pimpl::getStopbits () const { | |
115 | ||
116 | } | |
117 | ||
118 | void | |
119 | Serial_pimpl::setFlowcontrol (flowcontrol_t flowcontrol) { | |
120 | ||
121 | } | |
122 | ||
123 | flowcontrol_t | |
124 | Serial_pimpl::getFlowcontrol () const { | |
125 | ||
126 | } | |
127 | ||
128 | ||
129 | ||
130 | ||
131 | ||
132 |