]> git.mxchange.org Git - simgear.git/blob - simgear/io/iochannel.cxx
Lots of (mostly) doxygen fixes/cleanup.
[simgear.git] / simgear / io / iochannel.cxx
1 // iochannel.cxx -- High level IO channel class
2 //
3 // Written by Curtis Olson, started November 1999.
4 //
5 // Copyright (C) 1999  Curtis L. Olson - http://www.flightgear.org/~curt
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License as
9 // published by the Free Software Foundation; either version 2 of the
10 // License, or (at your option) any later version.
11 //
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 // General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 //
21 // $Id$
22
23
24 #include "iochannel.hxx"
25
26
27 // constructor
28 SGIOChannel::SGIOChannel()
29 {
30 }
31
32
33 // destructor
34 SGIOChannel::~SGIOChannel()
35 {
36 }
37
38
39 // dummy configure routine
40 bool SGIOChannel::open( const SGProtocolDir d ) {
41     return false;
42 }
43
44
45 // dummy process routine
46 int SGIOChannel::read( char *buf, int length ) {
47     return 0;
48 }
49
50
51 // dummy process routine
52 int SGIOChannel::readline( char *buf, int length ) {
53     return 0;
54 }
55
56
57 // dummy process routine
58 int SGIOChannel::write( const char *buf, const int length ) {
59     return false;
60 }
61
62
63 // dummy process routine
64 int SGIOChannel::writestring( const char *str ) {
65     return false;
66 }
67
68
69 // dummy close routine
70 bool SGIOChannel::close() {
71     return false;
72 }
73
74
75 // dummy eof routine
76 bool SGIOChannel::eof() const {
77     return false;
78 }