1 #ifndef __JNET__JSELECT__
2 #define __JNET__JSELECT__
5 #include <sys/select.h>
23 namespace JPP {
using namespace JNET; }
102 if (errno != EINTR) {
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
void reset(const bool option=true)
Reset mask.
int getNumberOfFileDescriptors() const
Get number of file descriptors.
Exception for select call.
Auxiliary class for time values.
const timeval * get() const
Get pointer to time value.
Wrapper class for select call.
JFileDescriptorMask readerMask
Wrapper class for select call.
JFileDescriptorMask writerMask
Wrapper class for select call.
JSelect()
Default constructor.
bool operator()()
Infinite wait select call.
bool operator()(JTimeval timeout)
Select call.
int operator()(JTimeval *timeout)
Select call.
bool select(const Trk &trk, const Evt &evt)
Event selection.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).