Rudiments
serialport.h
1// Copyright (c) 1999-2018 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
14class RUDIMENTS_DLLSPEC serialport : public filedescriptor {
15 public:
16
19
21 virtual ~serialport();
22
26
30
35
38
41 bool drain();
42
45 bool flush();
46
48 bool flushInput();
49
53
58
62
66 bool sendStop();
67
70 bool sendStart();
71
82
83 #include <rudiments/private/serialport.h>
84};
85
86#endif
Definition avltree.h:11
Definition filedescriptor.h:13
Definition serialport.h:14
bool suspendOutput()
bool flushInput()
bool getProfile(serialportprofile *profile)
bool drain()
bool setProfileOnDrain(serialportprofile *profile)
bool flushOutput()
virtual ~serialport()
bool sendStop()
bool sendStart()
bool setProfileOnFlush(serialportprofile *profile)
bool flush()
bool sendBreak(int32_t duration)
bool restartOutput()
bool setProfileNow(serialportprofile *profile)
Definition serialportprofile.h:21