From 6e15174900ebfecb5c1e4aab224532209c34368f Mon Sep 17 00:00:00 2001 From: sc Date: Mon, 4 Dec 2000 13:25:32 +0000 Subject: Moved a few more bits to BufStream --- comm/MsgStream.cc | 41 +++++++---------------------------------- comm/MsgStream.h | 12 +++++++----- 2 files changed, 14 insertions(+), 39 deletions(-) (limited to 'comm') 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_ -- cgit v1.1