// $Id: ReventFd.hpp 20 2013-08-10 16:42:54Z mueller $ // // Copyright 2013- by Walter F.J. Mueller // // 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. // // Imported Rev 486/475 1.0 from Retro -> CbmNet // --------------------------------------------------------------------------- /*! \file \version $Id: ReventFd.hpp 20 2013-08-10 16:42:54Z mueller $ \brief Declaration of class \c ReventFd. */ #ifndef included_CbmNet_ReventFd #define included_CbmNet_ReventFd 1 #include "boost/utility.hpp" namespace CbmNet { 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 CbmNet #include "ReventFd.ipp" #endif