1
0
mirror of https://github.com/wfjm/w11.git synced 2026-02-06 00:35:11 +00:00

more compact dumps, add Dump(..,detail) -- Part 2

This commit is contained in:
Walter F.J. Mueller
2017-04-07 22:17:34 +02:00
parent d333d6b356
commit 5c534bb829
95 changed files with 596 additions and 401 deletions

View File

@@ -1,6 +1,6 @@
// $Id: ReventLoop.cpp 686 2015-06-04 21:08:08Z mueller $
// $Id: ReventLoop.cpp 868 2017-04-07 20:09:33Z mueller $
//
// Copyright 2013-2015 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
// Copyright 2013-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
//
// This program is free software; you may redistribute and/or modify it under
// the terms of the GNU General Public License as published by the Free
@@ -13,6 +13,7 @@
//
// Revision History:
// Date Rev Version Comment
// 2017-04-07 868 1.2.1 Dump(): add detail arg
// 2015-04-04 662 1.2 BUGFIX: fix race in Stop(), add UnStop,StopPending
// 2013-04-27 511 1.1.3 BUGFIX: logic in DoCall() fixed (loop range)
// 2013-03-05 495 1.1.2 add exception catcher to EventLoop
@@ -23,7 +24,7 @@
/*!
\file
\version $Id: ReventLoop.cpp 686 2015-06-04 21:08:08Z mueller $
\version $Id: ReventLoop.cpp 868 2017-04-07 20:09:33Z mueller $
\brief Implemenation of class ReventLoop.
*/
@@ -184,7 +185,8 @@ void ReventLoop::EventLoop()
//------------------------------------------+-----------------------------------
//! FIXME_docs
void ReventLoop::Dump(std::ostream& os, int ind, const char* text) const
void ReventLoop::Dump(std::ostream& os, int ind, const char* text,
int detail) const
{
RosFill bl(ind);
os << bl << (text?text:"--") << "ReventLoop @ " << this << endl;