summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsc2000-12-04 13:25:32 +0000
committersc2000-12-04 13:25:32 +0000
commit6e15174900ebfecb5c1e4aab224532209c34368f (patch)
tree9ada04c05df70746cf900ab5deb1b580808c167d
parent7108a17ad542085c9a95a97d8d307ce2bbc9add9 (diff)
downloadivy-league-6e15174900ebfecb5c1e4aab224532209c34368f.zip
ivy-league-6e15174900ebfecb5c1e4aab224532209c34368f.tar.gz
ivy-league-6e15174900ebfecb5c1e4aab224532209c34368f.tar.bz2
ivy-league-6e15174900ebfecb5c1e4aab224532209c34368f.tar.xz
Moved a few more bits to BufStream
-rw-r--r--comm/MsgStream.cc41
-rw-r--r--comm/MsgStream.h12
2 files changed, 14 insertions, 39 deletions
diff --git a/comm/MsgStream.cc b/comm/MsgStream.cc
index 52d8623..f1b5e36 100644
--- a/comm/MsgStream.cc
+++ b/comm/MsgStream.cc
@@ -1,15 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Message streams
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Message streams
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
#include "MsgStream.h"
@@ -379,32 +381,3 @@ IvlMsgStream :: Send (IvlMsgBuffer& buf, bool flush)
if (flush || Sync || OutBuffer.BufLength () >= OutSize)
Flush ();
}
-
-#ifdef DOC
-/*?
-This function defines the size of the output buffer that triggers automatic flushing
-in asynchronous mode. By default the flush size is the maximum size of the
-output buffer. As a consequence, it is changed by \fun{OutBuffer}.
-?*/
-void
-IvlMsgStream :: FlushSize (int n)
-{ }
-
-/*?nextdoc?*/
-void
-IvlMsgStream :: SetSyncMode (bool s)
-{ }
-
-/*?
-A message stream can be in synchronous or asynchronous mode.
-In asynchronous mode output is buffered while in synchronous mode it is not.
-Synchronous mode is usually less efficient than asynchronous mode
-because it makes more system calls to transfer data;
-however synchronous mode can be useful for debugging applications.
-?*/
-bool
-IvlMsgStream :: GetSyncMode ()
-{ }
-
-#endif /* DOC */
-
diff --git a/comm/MsgStream.h b/comm/MsgStream.h
index d3e613e..154980b 100644
--- a/comm/MsgStream.h
+++ b/comm/MsgStream.h
@@ -1,15 +1,17 @@
/*
- * The Unix Channel
+ * Ivy League
*
- * by Michel Beaudouin-Lafon
+ * Message streams
*
- * Copyright 1990-1997
+ * Copyright 1990-2000
* Laboratoire de Recherche en Informatique (LRI)
+ * Centre d'Etudes de la Navigation Aerienne (CENA)
*
- * Message streams
+ * original code by Michel Beaudouin-Lafon,
+ * modified by Stephane Chatty
*
* $Id$
- * $CurLog$
+ *
*/
#ifndef MsgStream_H_