#include <jevois/Core/Serial.H>
#include <jevois/Core/Engine.H>
#include <fstream>
#include <fcntl.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
Go to the source code of this file.
◆ SERFATAL
Value: do { \
if (itsErrno.load() == 0) itsErrno = errno; \
LFATAL('[' << instanceName() << "] " << msg << " (" << strerror(errno) << ')'); \
} while (0)
#define LFATAL(msg)
Convenience macro for users to print out console or syslog messages, FATAL level.
Definition at line 29 of file Serial.C.
◆ SERTHROW
Value: do { \
if (itsErrno.load() == 0) itsErrno = errno; \
std::ostringstream ostr; \
ostr << '[' << instanceName() << "] " << msg << " (" << strerror(errno) << ')'; \
throw std::runtime_error(ostr.str()); \
} while (0)
Definition at line 34 of file Serial.C.