serialport.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_SERIALPORT_H
#define RUDIMENTS_SERIALPORT_H
#include <rudiments/private/serialportincludes.h>
class RUDIMENTS_DLLSPEC serialport : public filedescriptor {
public:
serialport();
serialport(const serialport &s);
serialport &operator=(const serialport &s);
virtual ~serialport();
bool setProfileNow(serialportprofile *profile);
bool setProfileOnDrain(serialportprofile *profile);
bool setProfileOnFlush(serialportprofile *profile);
bool getProfile(serialportprofile *profile);
bool drain();
bool flush();
bool flushInput();
bool flushOutput();
bool suspendOutput();
bool restartOutput();
bool transmitStop();
bool transmitStart();
bool sendBreak(int32_t duration);
#include <rudiments/private/serialport.h>
};
#endif
filedescriptor
Definition: filedescriptor.h:13
serialport
Definition: serialport.h:14
serialport::transmitStart
bool transmitStart()
serialport::operator=
serialport & operator=(const serialport &s)
serialport::suspendOutput
bool suspendOutput()
serialport::transmitStop
bool transmitStop()
serialport::flushInput
bool flushInput()
serialport::getProfile
bool getProfile(serialportprofile *profile)
serialport::serialport
serialport()
serialport::drain
bool drain()
serialport::setProfileOnDrain
bool setProfileOnDrain(serialportprofile *profile)
serialport::flushOutput
bool flushOutput()
serialport::serialport
serialport(const serialport &s)
serialport::~serialport
virtual ~serialport()
serialport::setProfileOnFlush
bool setProfileOnFlush(serialportprofile *profile)
serialport::flush
bool flush()
serialport::sendBreak
bool sendBreak(int32_t duration)
serialport::restartOutput
bool restartOutput()
serialport::setProfileNow
bool setProfileNow(serialportprofile *profile)
serialportprofile
Definition: serialportprofile.h:21