1#ifndef __JNET__JSELECTREADER__
2#define __JNET__JSELECTREADER__
19namespace JPP {
using namespace JNET; }
112 if (errno != EINTR) {
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
The JAbstractFile class encapsulates the c-style file descriptor.
Auxiliary class for method select.
void set(const int file_descriptor)
Set file descriptor.
void reset(const bool option=true)
Reset mask.
bool has(const int file_descriptor) const
Has file descriptor.
int getNumberOfFileDescriptors() const
Get number of file descriptors.
Exception for select call.
Auxiliary class for time values.
Wrapper class for select call.
int operator()(timeval *timeout=NULL)
Select call.
bool operator()(JTimeval timeout)
Select call.
void setReaderMask(const JAbstractFile &file)
Set reader mask.
JFileDescriptorMask readerMask
bool hasReaderMask(const JAbstractFile &file) const
Has reader file.
JFileDescriptorMask & getReaderMask()
Get reader mask.
JSelectReader()
Default constructor.
bool select(const Trk &trk, const Evt &evt)
Event selection.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).