Public Member Functions | Protected Attributes
LxFTDI Class Reference

#include <LxFTDI.h>

Inheritance diagram for LxFTDI:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void flush_buffer ()
std::string & get_port_name ()
virtual bool is_port_open ()
 LxFTDI ()
virtual bool port_close ()
virtual bool port_open (const std::string &portname, LxSerial::PortType port_type)
virtual int port_read (unsigned char *buffer, int numBytes)
virtual int port_read (unsigned char *buffer, int numBytes, int seconds, int microseconds)
virtual int port_write (unsigned char *buffer, int numBytes)
void set_clear_echo (bool clear)
virtual bool set_speed (LxSerial::PortSpeed baudrate)
virtual bool set_speed_int (const int baudrate)
virtual ~LxFTDI ()

Protected Attributes

std::string description
Ftdi::Context dev

Detailed Description

Definition at line 16 of file LxFTDI.h.


Constructor & Destructor Documentation

Definition at line 15 of file LxFTDI.cpp.

LxFTDI::~LxFTDI ( ) [virtual]

Definition at line 95 of file LxFTDI.cpp.


Member Function Documentation

void LxFTDI::flush_buffer ( ) [virtual]

Reimplemented from LxSerial.

Definition at line 90 of file LxFTDI.cpp.

std::string& LxFTDI::get_port_name ( ) [inline]

Reimplemented from LxSerial.

Definition at line 27 of file LxFTDI.h.

virtual bool LxFTDI::is_port_open ( ) [inline, virtual]

Reimplemented from LxSerial.

Definition at line 26 of file LxFTDI.h.

bool LxFTDI::port_close ( ) [virtual]

Reimplemented from LxSerial.

Definition at line 35 of file LxFTDI.cpp.

bool LxFTDI::port_open ( const std::string &  portname,
LxSerial::PortType  port_type 
) [virtual]

Reimplemented from LxSerial.

Definition at line 20 of file LxFTDI.cpp.

int LxFTDI::port_read ( unsigned char *  buffer,
int  numBytes 
) [virtual]

Definition at line 40 of file LxFTDI.cpp.

int LxFTDI::port_read ( unsigned char *  buffer,
int  numBytes,
int  seconds,
int  microseconds 
) [virtual]

Reimplemented from LxSerial.

Definition at line 56 of file LxFTDI.cpp.

int LxFTDI::port_write ( unsigned char *  buffer,
int  numBytes 
) [virtual]

Reimplemented from LxSerial.

Definition at line 85 of file LxFTDI.cpp.

void LxFTDI::set_clear_echo ( bool  clear) [inline]

Reimplemented from LxSerial.

Definition at line 30 of file LxFTDI.h.

virtual bool LxFTDI::set_speed ( LxSerial::PortSpeed  baudrate) [inline, virtual]

Reimplemented from LxSerial.

Definition at line 28 of file LxFTDI.h.

bool LxFTDI::set_speed_int ( const int  baudrate) [virtual]

Reimplemented from LxSerial.

Definition at line 29 of file LxFTDI.cpp.


Member Data Documentation

std::string LxFTDI::description [protected]

Definition at line 20 of file LxFTDI.h.

Ftdi::Context LxFTDI::dev [protected]

Definition at line 19 of file LxFTDI.h.


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


threemxl
Author(s):
autogenerated on Fri Aug 28 2015 13:21:09