head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2002.09.07.01.50.38; author curt; state Exp; branches; next 1.3; 1.3 date 2002.08.31.19.01.54; author curt; state Exp; branches; next 1.2; 1.2 date 2002.08.31.18.54.00; author curt; state Exp; branches; next 1.1; 1.1 date 2002.02.15.17.21.56; author curt; state Exp; branches; next ; desc @@ 1.4 log @Updated doxygen docs. @ text @
Main Page Class Hierarchy Compound List File List Compound Members File Members

# iochannel.cxx

    00001 // iochannel.cxx -- High level IO channel class
    00002 //
    00003 // Written by Curtis Olson, started November 1999.
    00004 //
    00005 // Copyright (C) 1999  Curtis L. Olson - curt@@flightgear.org
    00006 //
    00007 // This program is free software; you can redistribute it and/or
    00008 // modify it under the terms of the GNU General Public License as
    00009 // published by the Free Software Foundation; either version 2 of the
    00010 // License, or (at your option) any later version.
    00011 //
    00012 // This program is distributed in the hope that it will be useful, but
    00013 // WITHOUT ANY WARRANTY; without even the implied warranty of
    00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00015 // General Public License for more details.
    00016 //
    00017 // You should have received a copy of the GNU General Public License
    00018 // along with this program; if not, write to the Free Software
    00019 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00020 //
    00021 // $Id: iochannel.cxx,v 1.3 2002/05/10 13:53:22 curt Exp $
    00022
    00023
    00024 #include "iochannel.hxx"
    00025
    00026
    00027 // constructor
    00028 SGIOChannel::SGIOChannel()
    00029 {
    00030 }
    00031
    00032
    00033 // destructor
    00034 SGIOChannel::~SGIOChannel()
    00035 {
    00036 }
    00037
    00038
    00039 // dummy configure routine
    00040 bool SGIOChannel::open( const SGProtocolDir d ) {
    00041     return false;
    00042 }
    00043
    00044
    00045 // dummy process routine
    00046 int SGIOChannel::read( char *buf, int length ) {
    00047     return 0;
    00048 }
    00049
    00050
    00051 // dummy process routine
    00052 int SGIOChannel::readline( char *buf, int length ) {
    00053     return 0;
    00054 }
    00055
    00056
    00057 // dummy process routine
    00058 int SGIOChannel::write( const char *buf, const int length ) {
    00059     return false;
    00060 }
    00061
    00062
    00063 // dummy process routine
    00064 int SGIOChannel::writestring( const char *str ) {
    00065     return false;
    00066 }
    00067
    00068
    00069 // dummy close routine
    00070 bool SGIOChannel::close() {
    00071     return false;
    00072 }

@ 1.3 log @Oops, try again. @ text @d81 1 a81 1