![]() |
Imaging Control 4 C Library 1.4.0
|
Data Structures | |
| struct | IC4_INIT_CONFIG |
| The library initialization config structure. More... | |
Enumerations | |
| enum | IC4_LOG_LEVEL { IC4_LOG_OFF = 0 , IC4_LOG_ERROR = 1 , IC4_LOG_WARN = 2 , IC4_LOG_INFO = 3 , IC4_LOG_DEBUG = 4 , IC4_LOG_TRACE = 5 } |
| Defines the possible library log levels. More... | |
| enum | IC4_LOG_TARGET_FLAGS { IC4_LOGTARGET_DISABLE = 0 , IC4_LOGTARGET_STDOUT = 1 , IC4_LOGTARGET_STDERR = 2 , IC4_LOGTARGET_FILE = 4 , IC4_LOGTARGET_WINDEBUG = 8 } |
| Defines the possible log targets. More... | |
| enum | IC4_VERSION_INFO_FLAGS { IC4_VERSION_INFO_DEFAULT = 0x0 , IC4_VERSION_INFO_ALL = 0x1 , IC4_VERSION_INFO_IC4 = 0x2 , IC4_VERSION_INFO_DRIVER = 0x4 , IC4_VERSION_INFO_PLUGINS = 0x8 , IC4_VERSION_INFO_VERSION = 0x10 , IC4_VERSION_INFO_BUILD_ID = 0x20 } |
| Contains retrievable version descriptions. More... | |
Functions | |
| bool | ic4_init_library (const struct IC4_INIT_CONFIG *init_config) |
| Initializes the IC Imaging Control 4 C Library. | |
| void | ic4_exit_library () |
| Un-initializes the library. | |
| bool | ic4_get_version_info (char *str, size_t *size, enum IC4_VERSION_INFO_FLAGS flags) |
| Retrieve version information description string. | |
| enum IC4_LOG_LEVEL |
| enum IC4_LOG_TARGET_FLAGS |
Defines the possible log targets.
| Enumerator | |
|---|---|
| IC4_LOGTARGET_DISABLE | Disable logging. |
| IC4_LOGTARGET_STDOUT | Log to stdout. |
| IC4_LOGTARGET_STDERR | Log to stderr. |
| IC4_LOGTARGET_FILE | Log to a file specified by IC4_INIT_CONFIG::log_file. |
| IC4_LOGTARGET_WINDEBUG | Log using |
Contains retrievable version descriptions.
| void ic4_exit_library | ( | ) |
Un-initializes the library.
Every successful call to ic4_init_library should be balanced by a matching call to ic4_exit_library before unloading the library DLL.
| bool ic4_get_version_info | ( | char * | str, |
| size_t * | size, | ||
| enum IC4_VERSION_INFO_FLAGS | flags | ||
| ) |
Retrieve version information description string.
| [out] | str | Pointer to a character array to receive an error message. |
| [in,out] | size | Size of str buffer |
| [in] | flags | What version information to retrieve |
true on success | bool ic4_init_library | ( | const struct IC4_INIT_CONFIG * | init_config | ) |
Initializes the IC Imaging Control 4 C Library.
ic4_init_library must be called before any other library function.
| init_config | A structure configuring library settings, e.g. the log level. |
true on success, otherwise false.