1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-25 20:16:00 +00:00
Files
wfjm.w11/tools/src/librlink/ReventLoop.ipp

84 lines
2.2 KiB
C++

// $Id: ReventLoop.ipp 983 2018-01-02 20:35:59Z mueller $
//
// Copyright 2013-2015 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
// Software Foundation, either version 3, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for complete details.
//
// Revision History:
// Date Rev Version Comment
// 2015-04-04 662 1.2 BUGFIX: fix race in Stop(), add UnStop,StopPending
// 2013-05-01 513 1.1.1 fTraceLevel now uint32_t
// 2013-02-22 491 1.1 use new RlogFile/RlogMsg interfaces
// 2013-01-11 473 1.0 Initial version
// ---------------------------------------------------------------------------
/*!
\file
\brief Implemenation (inline) of class ReventLoop.
*/
// all method definitions in namespace Retro
namespace Retro {
//------------------------------------------+-----------------------------------
//! FIXME_docs
inline void ReventLoop::Stop()
{
fStopPending = true;
return;
}
//------------------------------------------+-----------------------------------
//! FIXME_docs
inline void ReventLoop::UnStop()
{
fStopPending = false;
return;
}
//------------------------------------------+-----------------------------------
//! FIXME_docs
inline bool ReventLoop::StopPending()
{
return fStopPending;
}
//------------------------------------------+-----------------------------------
//! FIXME_docs
inline void ReventLoop::SetLogFile(const boost::shared_ptr<RlogFile>& splog)
{
fspLog = splog;
return;
}
//------------------------------------------+-----------------------------------
//! FIXME_docs
inline void ReventLoop::SetTraceLevel(uint32_t level)
{
fTraceLevel = level;
return;
}
//------------------------------------------+-----------------------------------
//! FIXME_docs
inline uint32_t ReventLoop::TraceLevel() const
{
return fTraceLevel;
}
} // end namespace Retro