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

Subversion Repositories w11

[/] [w11/] [tags/] [w11a_V0.6/] [tools/] [src/] [librlink/] [ReventFd.hpp] - Blame information for rev 40

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 19 wfjm
// $Id: ReventFd.hpp 486 2013-02-10 22:34:43Z mueller $
2
//
3
// Copyright 2013- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4
//
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
// 2013-01-14   475   1.0    Initial version
17
// 2013-01-11   473   0.5    First draft
18
// ---------------------------------------------------------------------------
19
 
20
 
21
/*!
22
  \file
23
  \version $Id: ReventFd.hpp 486 2013-02-10 22:34:43Z mueller $
24
  \brief   Declaration of class \c ReventFd.
25
*/
26
 
27
#ifndef included_Retro_ReventFd
28
#define included_Retro_ReventFd 1
29
 
30
#include "boost/utility.hpp"
31
 
32
namespace Retro {
33
 
34
  class ReventFd : private boost::noncopyable {
35
    public:
36
                    ReventFd();
37
      virtual      ~ReventFd();
38
 
39
      int           Fd() const;
40
      int           Signal();
41
      int           Wait();
42
 
43
      operator      int() const;
44
 
45
      static int    SignalFd(int fd);
46
      static int    WaitFd(int fd);
47
 
48
    protected:
49
 
50
      int           fFd;
51
};
52
 
53
} // end namespace Retro
54
 
55
#include "ReventFd.ipp"
56
 
57
#endif

powered by: WebSVN 2.1.0

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