Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
RawIOC::RawIOC(void)
RawIOC::RawIOC(int,BooleanT)
RawIOC::RawIOC(const char *,IntT)
RawIOC::RawIOC(RawIOBaseC &)
RawIOC::RawIOC(const RawIOC &)
RawIOC::Write(const void *,IntT)
RawIOC::Read(void *,IntT)
RawIOC::LSeek(IntT,IntT)
RawIOC::Close(void)
RawIOC::ErrorNo(void) const
RawIOC::Dump(ostream &)
RawIOC::IsValid(void) const
RawIOC
 
include "amma/RawIO.hh"
User Level:Default
Library:DrvSys
Example:ex3DCanvas.cc
Section:Utilities.Drivers.System
In Scope:std

Comments:
///////////////////////////////////////////////// RawIO.hh Basic IO class.

Variables:
BRCPtrC driver;

Methods:
RawIOC()
NULL io.

RawIOC(int fd,BooleanT NoClose = FALSE)
Open a file handle.

RawIOC(const char * filename,IntT fmode)
Open a file, fmode uses same permisions as open. RawIOC(IntT PortNo,IntT BaudRate = 9600) Open a serial port.

RawIOC(RawIOBaseC & drv)
New driver.

RawIOC(const RawIOC & drv)
Copy constructor.

IntT Write(const void * buff,IntT size)
Write 'size' bytes from 'buff' to file handle. returns number of charactors written.

IntT Read(void * buff,IntT size)
Read from file.

IntT LSeek(IntT off,IntT where)
Seek to start of file. Ret: -1 == Error. otherwise absolute location of error.

IntT Close()
Close file handle.

IntT ErrorNo() const
Get a UNIX style error number. Ret: 0 == No error. -1 == Not supported.

void Dump(ostream & out)
Dump to stream.

BooleanT IsValid() const
test if its a valid handle.


Programmer:eep1cg, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001