OpenCores
URL https://opencores.org/ocsvn/w11/w11/trunk

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.7/] [tools/] [src/] [librlink/] [ReventLoop.ipp] - Blame information for rev 33

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 wfjm
// $Id: ReventLoop.ipp 662 2015-04-05 08:02:54Z mueller $
2 19 wfjm
//
3 30 wfjm
// Copyright 2013-2015 by Walter F.J. Mueller 
4 19 wfjm
//
5
// This program is free software; you may redistribute and/or modify it under
6
// the terms of the GNU General Public License as published by the Free
7
// Software Foundation, either version 2, or at your option any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but
10
// WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
11
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
// for complete details.
13
//
14
// Revision History:
15
// Date         Rev Version  Comment
16 30 wfjm
// 2015-04-04   662   1.2    BUGFIX: fix race in Stop(), add UnStop,StopPending
17 21 wfjm
// 2013-05-01   513   1.1.1  fTraceLevel now uint32_t
18 19 wfjm
// 2013-02-22   491   1.1    use new RlogFile/RlogMsg interfaces
19
// 2013-01-11   473   1.0    Initial version
20
// ---------------------------------------------------------------------------
21
 
22
/*!
23
  \file
24 30 wfjm
  \version $Id: ReventLoop.ipp 662 2015-04-05 08:02:54Z mueller $
25 19 wfjm
  \brief   Implemenation (inline) of class ReventLoop.
26
*/
27
 
28
// all method definitions in namespace Retro
29
namespace Retro {
30
 
31
//------------------------------------------+-----------------------------------
32
//! FIXME_docs
33
 
34
inline void ReventLoop::Stop()
35
{
36 30 wfjm
  fStopPending = true;
37 19 wfjm
  return;
38
}
39
 
40
//------------------------------------------+-----------------------------------
41
//! FIXME_docs
42
 
43 30 wfjm
inline void ReventLoop::UnStop()
44
{
45
  fStopPending = false;
46
  return;
47
}
48
 
49
//------------------------------------------+-----------------------------------
50
//! FIXME_docs
51
 
52
inline bool ReventLoop::StopPending()
53
{
54
  return fStopPending;
55
}
56
 
57
//------------------------------------------+-----------------------------------
58
//! FIXME_docs
59
 
60 19 wfjm
inline void ReventLoop::SetLogFile(const boost::shared_ptr& splog)
61
{
62
  fspLog = splog;
63
  return;
64
}
65
 
66
//------------------------------------------+-----------------------------------
67
//! FIXME_docs
68
 
69 21 wfjm
inline void ReventLoop::SetTraceLevel(uint32_t level)
70 19 wfjm
{
71
  fTraceLevel = level;
72
  return;
73
}
74
 
75
//------------------------------------------+-----------------------------------
76
//! FIXME_docs
77
 
78 21 wfjm
inline uint32_t ReventLoop::TraceLevel() const
79 19 wfjm
{
80
  return fTraceLevel;
81
}
82
 
83
} // end namespace Retro
84
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.