14 #ifndef ECL_CONCEPTS_DEVICES_HPP_
15 #define ECL_CONCEPTS_DEVICES_HPP_
38 template <
typename Implementation>
39 class InputCharDeviceConcept {
75 template <
typename Implementation>
90 char write_buffer[] = {
'd',
'u',
'd',
'e',
'\n' };
115 template <
typename Implementation>
116 class InputOutputCharDeviceConcept {
132 char read_buffer[10];
137 char write_buffer[] = {
'd',
'u',
'd',
'e',
'\n' };
158 template <
typename Implementation>
159 class InputByteDeviceConcept {
173 signed char sbuffer[10];
177 unsigned char usbuffer[10];
204 template <
typename Implementation>
205 class OutputByteDeviceConcept {
221 signed char sc =
'\n';
223 unsigned char usc = 0x01;
224 signed char s_write_buffer[] = {
'd',
'u',
'd',
'e',
'\n' };
225 char write_buffer[] = {
'd',
'u',
'd',
'e',
'\n' };
226 unsigned char us_write_buffer[] = { 0x01, 0x02, 0x03, 0x04, 0x05 };
254 template <
typename Implementation>
255 class InputOutputByteDeviceConcept {
273 signed char sbuffer[10];
277 unsigned char usbuffer[10];
292 signed char s_write_buffer[] = {
'd',
'u',
'd',
'e',
'\n' };
293 char write_buffer[] = {
'd',
'u',
'd',
'e',
'\n' };
294 unsigned char us_write_buffer[] = { 0x01, 0x02, 0x03, 0x04, 0x05 };