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
class
serialportprivate;
10
16
class
RUDIMENTS_DLLSPEC
serialport
:
public
filedescriptor
{
17
public
:
18
20
serialport
();
21
24
serialport
(
const
serialport
&s);
25
28
serialport
&
operator=
(
const
serialport
&s);
29
31
virtual
~
serialport
();
32
35
bool
setProfileNow(
serialportprofile
*profile);
36
39
bool
setProfileOnDrain(
serialportprofile
*profile);
40
44
bool
setProfileOnFlush(
serialportprofile
*profile);
45
47
bool
getProfile(
serialportprofile
*profile);
48
51
bool
drain();
52
55
bool
flush();
56
58
bool
flushInput();
59
62
bool
flushOutput();
63
67
bool
suspendOutput();
68
71
bool
restartOutput();
72
76
bool
transmitStop();
77
80
bool
transmitStart();
81
91
bool
sendBreak(int32_t duration);
92
93
#include <rudiments/private/serialport.h>
94
};
95
96
#endif
Generated on Fri Mar 7 2014 14:08:54 for Rudiments by
1.8.3.1