Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

LibGPIB::linSerial Class Reference

#include <serial.h>

Inheritance diagram for LibGPIB::linSerial:

linErrLog List of all members.

Public Methods

 linSerial (void)
int OpenDevice (const char *)
int GetFileDescriptor (void)
FILE* GetFileHandle (void)
void Close (void)
int SetupDefault (void)
int SetupRaw (void)
int SetupTerminal (void)
int SetSpeed (int)
int SetHardwareFlowControl (void)
int SetSoftwareFlowControl (void)
int SetBits (int, char, int)
int Set8N1 (void)
int Set7E2 (void)
void SetDTR (void)
void ClearDTR (void)

Protected Methods

int SetFlowControl (int)

Protected Attributes

int fd
FILE* serialport
char* filename

Private Attributes

int speed
short istty

Constructor & Destructor Documentation

LibGPIB::linSerial::linSerial ( void )

Member Function Documentation

void LibGPIB::linSerial::ClearDTR ( void )

void LibGPIB::linSerial::Close ( void )

int LibGPIB::linSerial::GetFileDescriptor ( void ) [inline]

Definition at line 138 of file serial.h.

FILE * LibGPIB::linSerial::GetFileHandle ( void ) [inline]

Definition at line 139 of file serial.h.

int LibGPIB::linSerial::OpenDevice ( const char * )

int LibGPIB::linSerial::Set7E2 ( void ) [inline]

Definition at line 153 of file serial.h.

int LibGPIB::linSerial::Set8N1 ( void ) [inline]

Definition at line 152 of file serial.h.

int LibGPIB::linSerial::SetBits ( int,
int )

void LibGPIB::linSerial::SetDTR ( void )

int LibGPIB::linSerial::SetFlowControl ( int ) [protected]

int LibGPIB::linSerial::SetHardwareFlowControl ( void ) [inline]

Definition at line 148 of file serial.h.

int LibGPIB::linSerial::SetSoftwareFlowControl ( void ) [inline]

Definition at line 149 of file serial.h.

int LibGPIB::linSerial::SetSpeed ( int )

int LibGPIB::linSerial::SetupDefault ( void )

int LibGPIB::linSerial::SetupRaw ( void )

int LibGPIB::linSerial::SetupTerminal ( void )

Member Data Documentation

int LibGPIB::linSerial::fd [protected]

Definition at line 161 of file serial.h.

char * LibGPIB::linSerial::filename [protected]

Definition at line 163 of file serial.h.

short LibGPIB::linSerial::istty [private]

Definition at line 167 of file serial.h.

FILE * LibGPIB::linSerial::serialport [protected]

Definition at line 162 of file serial.h.

int LibGPIB::linSerial::speed [private]

Definition at line 166 of file serial.h.

The documentation for this class was generated from the following file:
Generated at Tue Aug 8 01:37:56 2000 for libgpib by doxygen1.1.4 written by Dimitri van Heesch, © 1997-2000