#include "irplib_error.h"
#include <string.h>
#include <cpl.h>
#include <cxutils.h>
#include <stdarg.h>
Go to the source code of this file.
Data Structures | |
struct | irplib_error |
Defines | |
#define | MAX_STRING_LENGTH 200 |
#define | MAX_ERRORS 20 |
Functions | |
static void | irplib_error_validate_state (const char *func, const char *file, unsigned int line) |
Synchronize IRPLIB error state with CPL's error state. | |
cpl_error_code | xsh_irplib_error_push_macro (const char *func, cpl_error_code ec, const char *file, unsigned int line) |
Set or propagate an error. | |
void | xsh_irplib_error_set_msg (const char *format,...) |
Temporarily store an error message. | |
void | xsh_irplib_error_reset (void) |
Reset the error state. | |
void | xsh_irplib_error_dump_macro (const char *func, const char *file, unsigned int line, cpl_msg_severity severity, cpl_msg_severity trace_severity) |
Print the error queue. | |
Variables | |
struct { | |
irplib_error errors [MAX_ERRORS] | |
cpl_boolean is_empty | |
unsigned int first | |
unsigned int last | |
} | queue |
static char | error_msg [MAX_STRING_LENGTH] |
static cpl_boolean | is_initialized = CPL_FALSE |
irplib_error errors[MAX_ERRORS] |
Definition at line 86 of file irplib_error.c.
unsigned int first |
Definition at line 88 of file irplib_error.c.
Referenced by comp_center(), comp_center2(), compare_frame_date(), detect_centroid(), xsh_detmon_bpixs(), xsh_detmon_dark_dsnu(), xsh_detmon_lg(), xsh_detmon_lg_add_empty_image(), xsh_detmon_lg_reduce(), xsh_detmon_lg_reduce_all(), xsh_detmon_lg_split_onoff(), xsh_detmon_lin(), xsh_detmon_ronbias_dutycycl(), and xsh_linear_group_by_exptime().
cpl_boolean is_empty |
Definition at line 87 of file irplib_error.c.
unsigned int last |
Definition at line 89 of file irplib_error.c.
Referenced by detect_centroid(), and xsh_detmon_ronbias_dutycycl().