areaDetector  3-5-0
EPICS areaDetector framework
Public Member Functions | List of all members
comportInterface Class Referenceabstract

Interface to a com port, on a grabber. More...

#include <comportInterface.h>

Inheritance diagram for comportInterface:
cl_com_port sw_com_port

Public Member Functions

virtual void open (void)=0
 
virtual void open (int baud, int parity, int nbits, int nstop)=0
 
virtual void open (int baud, int parity, int nbits, int nstop, int rdtimeout)=0
 
virtual void write (unsigned char *buffer, int length)=0
 
virtual void read (unsigned char *buffer, int length)=0
 
virtual void write (unsigned char c)=0
 
virtual unsigned char read (void)=0
 
virtual void close (void)=0
 
virtual void flush (void)=0
 
virtual void clearPipe ()=0
 
virtual void setPortName (char *n)=0
 
virtual void wait (int us)=0
 
virtual void tic ()=0
 
virtual double toc ()=0
 

Detailed Description

Interface to a com port, on a grabber.

\ We inherite this with any class to represent the serial port ona grabber. Pure virtual class.

Author
Timothy Madden
Date
2005

Member Function Documentation

◆ clearPipe()

virtual void comportInterface::clearPipe ( )
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ close()

virtual void comportInterface::close ( void  )
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ flush()

virtual void comportInterface::flush ( void  )
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ open() [1/3]

virtual void comportInterface::open ( void  )
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ open() [2/3]

virtual void comportInterface::open ( int  baud,
int  parity,
int  nbits,
int  nstop 
)
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ open() [3/3]

virtual void comportInterface::open ( int  baud,
int  parity,
int  nbits,
int  nstop,
int  rdtimeout 
)
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ read() [1/2]

virtual void comportInterface::read ( unsigned char *  buffer,
int  length 
)
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ read() [2/2]

virtual unsigned char comportInterface::read ( void  )
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ setPortName()

virtual void comportInterface::setPortName ( char *  n)
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ tic()

virtual void comportInterface::tic ( )
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ toc()

virtual double comportInterface::toc ( )
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ wait()

virtual void comportInterface::wait ( int  us)
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ write() [1/2]

virtual void comportInterface::write ( unsigned char *  buffer,
int  length 
)
pure virtual

Implemented in cl_com_port, and sw_com_port.

◆ write() [2/2]

virtual void comportInterface::write ( unsigned char  c)
pure virtual

Implemented in cl_com_port, and sw_com_port.


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