#include <stdio.h>
#include <string.h>
#include <exception>
#include <string>
#include "MultiSense/details/utility/Portability.hh"
#include "MultiSense/details/utility/TimeStamp.hh"
Go to the source code of this file.
◆ CRL_DEBUG
| #define CRL_DEBUG |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value:do { \
CRL_DEBUG_REDIRECTION
"[%.3f] %s(%d): %s: " fmt,now,
CRL_FILENAME,__LINE__, \
CRL_PRETTY_FUNCTION,##__VA_ARGS__); \
} while(0)
int64_t getNanoSeconds() const
static TimeStamp getCurrentTime()
Definition at line 71 of file Exception.hh.
◆ CRL_DEBUG_RAW
| #define CRL_DEBUG_RAW |
( |
|
fmt | ) |
|
Value:do { \
CRL_DEBUG_REDIRECTION
"[%.3f] %s(%d): %s: " fmt,now,
CRL_FILENAME,__LINE__, \
CRL_PRETTY_FUNCTION); \
} while(0)
int64_t getNanoSeconds() const
static TimeStamp getCurrentTime()
Definition at line 78 of file Exception.hh.
◆ CRL_DEBUG_REDIRECTION
| #define CRL_DEBUG_REDIRECTION fprintf(stderr, |
◆ CRL_EXCEPTION
| #define CRL_EXCEPTION |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
Value:do { \
CRL_PRETTY_FUNCTION,##__VA_ARGS__); \
} while(0)
Definition at line 85 of file Exception.hh.
◆ CRL_EXCEPTION_RAW
| #define CRL_EXCEPTION_RAW |
( |
|
fmt | ) |
|
Value:do { \
CRL_PRETTY_FUNCTION); \
} while(0)
Definition at line 91 of file Exception.hh.
◆ CRL_FILENAME
Value:(strrchr(__FILE__,'/') \
? strrchr(__FILE__,'/')+1 \
: __FILE__)
Definition at line 58 of file Exception.hh.