OSFI-C++  3.10.0
OpenSF Integration Library
EHLog.h
Go to the documentation of this file.
1 /*
2  * openSF Integration Libraries (OSFI)
3  * Deimos Space, S.L.U.
4  *
5  * This file is part of OSFI. OSFI is free software; you can redistribute it
6  * and/or modify it under the terms of the 'ESA Software Community Licence Permissive' as
7  * published by the European Space Agency; either version 2.4 of the License,
8  * or (at your option) any later version. You should have received a
9  * copy of the 'ESA Software Community Licence Permissive - v2.4' along with this program
10  * or one can be found at <http://eop-cfi.esa.int/index.php/docs-and-mission-data/licensing-documents>.
11  */
12 
23 #ifndef OSFI_FFI_EHLOG_H
24 #define OSFI_FFI_EHLOG_H
25 
26 #include "ffi_base.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 // TODO: documentation! especially pre- and post- conditions, and what happens in
32 // case of a C++ exception.
33 
41 void osfi_common_error(const char *message);
42 void osfi_common_warning(const char *message);
43 void osfi_common_info(const char *message);
44 void osfi_common_debug(const char *message);
45 void osfi_common_progress(int n, int m);
47 void osfi_common_quality(const char *name, const char *value);
48 void osfi_common_quality_double(const char *name , double value);
51 #ifdef __cplusplus
52 } // For the extern "C"
53 #endif
54 
55 #endif /* OSFI_FFI_EHLOG_H */
void osfi_common_progress(int n, int m)
void osfi_common_warning(const char *message)
bool osfi_common_debug_isenabled()
void osfi_common_finish_execution(int errorCode)
void osfi_common_error(const char *message)
void osfi_common_quality(const char *name, const char *value)
void osfi_common_quality_double(const char *name, double value)
void osfi_common_debug(const char *message)
void osfi_common_info(const char *message)
Internal header used by the foreign-function interface to OSFI-C++.
#define OSFI_FFI_NORETURN
Definition: ffi_base.h:30