URL
https://opencores.org/ocsvn/w11/w11/trunk
Subversion Repositories w11
[/] [w11/] [tags/] [w11a_V0.74/] [tools/] [src/] [librlink/] [ReventFd.hpp] - Rev 38
Compare with Previous | Blame | View Log
// $Id: ReventFd.hpp 486 2013-02-10 22:34:43Z mueller $ // // Copyright 2013- 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 2, 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 // 2013-01-14 475 1.0 Initial version // 2013-01-11 473 0.5 First draft // --------------------------------------------------------------------------- /*! \file \version $Id: ReventFd.hpp 486 2013-02-10 22:34:43Z mueller $ \brief Declaration of class \c ReventFd. */ #ifndef included_Retro_ReventFd #define included_Retro_ReventFd 1 #include "boost/utility.hpp" namespace Retro { class ReventFd : private boost::noncopyable { public: ReventFd(); virtual ~ReventFd(); int Fd() const; int Signal(); int Wait(); operator int() const; static int SignalFd(int fd); static int WaitFd(int fd); protected: int fFd; }; } // end namespace Retro #include "ReventFd.ipp" #endif