HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_Serial Class Reference

#include <UT_Serial.h>

Public Member Functions

 UT_Serial (int rate=9600, int databits=8, int parity=SERIAL_NO_PARITY, int stopbits=1)
 
virtual ~UT_Serial ()
 
int open (const char *port, int parms)
 
void close ()
 
int changeRate (int rate)
 
int dataAvailable ()
 
int read (void *buffer, int num)
 
int write (const void *buffer, int num)
 
void flush ()
 

Detailed Description

Definition at line 29 of file UT_Serial.h.

Constructor & Destructor Documentation

UT_Serial::UT_Serial ( int  rate = 9600,
int  databits = 8,
int  parity = SERIAL_NO_PARITY,
int  stopbits = 1 
)
explicit
virtual UT_Serial::~UT_Serial ( )
virtual

Member Function Documentation

int UT_Serial::changeRate ( int  rate)
void UT_Serial::close ( )
int UT_Serial::dataAvailable ( )
void UT_Serial::flush ( )
int UT_Serial::open ( const char *  port,
int  parms 
)
int UT_Serial::read ( void buffer,
int  num 
)
int UT_Serial::write ( const void buffer,
int  num 
)

The documentation for this class was generated from the following file: