1#ifndef __JNET__JSELECTWRITER__
2#define __JNET__JSELECTWRITER__
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.
JFileDescriptorMask & getWriterMask()
Get writer mask.
JSelectWriter()
Default constructor.
void setWriterMask(const JAbstractFile &file)
Set writer mask.
int operator()(JTimeval timeout)
Select call.
JFileDescriptorMask writerMask
bool hasWriterMask(const JAbstractFile &file) const
Has writer file.
int operator()(timeval *timeout=NULL)
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).