w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Rfd.ipp
Go to the documentation of this file.
1// $Id: Rfd.ipp 1185 2019-07-12 17:29:12Z mueller $
2// SPDX-License-Identifier: GPL-3.0-or-later
3// Copyright 2019- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
4//
5// Revision History:
6// Date Rev Version Comment
7// 2019-06-07 1161 1.0 Initial version
8// ---------------------------------------------------------------------------
9
14// all method definitions in namespace Retro
15namespace Retro {
16
17//------------------------------------------+-----------------------------------
19
20inline int Rfd::Fd() const
21{
22 return fFd;
23}
24
25//------------------------------------------+-----------------------------------
27
28inline bool Rfd::IsOpen() const
29{
30 return fFd >= 0;
31}
32
33//------------------------------------------+-----------------------------------
35
36inline bool Rfd::IsOpenNonStd() const
37{
38 return fFd > 2;
39}
40
41//------------------------------------------+-----------------------------------
43
44inline Rfd::operator bool() const
45{
46 return IsOpen();
47}
48
49} // end namespace Retro
50
51
bool IsOpenNonStd() const
FIXME_docs.
Definition: Rfd.ipp:36
int fFd
Definition: Rfd.hpp:48
bool IsOpen() const
FIXME_docs.
Definition: Rfd.ipp:28
int Fd() const
FIXME_docs.
Definition: Rfd.ipp:20
Declaration of class ReventLoop.
Definition: ReventLoop.cpp:47