11#include <sys/select.h>
17using namespace ::
Binc;
20MultilogDevice::MultilogDevice(
int f) :
IODevice(f)
40 FD_SET(fileno(stderr), &writeMask);
46 int result = select(fileno(stderr) + 1, 0, &writeMask,
47 0, tv.tv_sec ? &tv : 0);
const std::string & str(void) const
std::string popString(unsigned int size)
unsigned int getSize(void) const
The IODevice class provides a framework for reading and writing to device.
unsigned int getTimeout(void) const
bool waitForRead(void) const
bool waitForWrite(void) const
std::string service(void) const
bool fillInputBuffer(void)
Declaration of the MultilogDevice class.