Rudiments
Main Page
Classes
include
rudiments
serialport.h
1
// Copyright (c) 2004 David Muse
2
// See the COPYING file for more information.
3
4
#ifndef RUDIMENTS_SERIALPORT_H
5
#define RUDIMENTS_SERIALPORT_H
6
7
#include <rudiments/private/serialportincludes.h>
8
9
#ifdef RUDIMENTS_NAMESPACE
10
namespace
rudiments {
11
#endif
12
13
class
serialportprivate;
14
20
class
RUDIMENTS_DLLSPEC
serialport
:
public
filedescriptor
{
21
public
:
22
24
serialport
();
25
28
serialport
(
const
serialport
&s);
29
32
serialport
&operator=(
const
serialport
&s);
33
35
virtual
~
serialport
();
36
39
bool
setProfileNow(
serialportprofile
*profile);
40
43
bool
setProfileOnDrain(
serialportprofile
*profile);
44
48
bool
setProfileOnFlush(
serialportprofile
*profile);
49
51
bool
getProfile(
serialportprofile
*profile);
52
55
bool
drain();
56
59
bool
flush();
60
62
bool
flushInput();
63
66
bool
flushOutput();
67
71
bool
suspendOutput();
72
75
bool
restartOutput();
76
80
bool
transmitStop();
81
84
bool
transmitStart();
85
95
bool
sendBreak(int32_t duration);
96
97
#include <rudiments/private/serialport.h>
98
};
99
100
#ifdef RUDIMENTS_NAMESPACE
101
}
102
#endif
103
104
#endif
Generated on Wed Aug 1 2012 18:51:47 for Rudiments by
1.8.1.1