Iguana 0.0.0
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
Bindings.h
1#pragma once
2
3#include "iguana/algorithms/Algorithm.h"
4
5namespace iguana::bindings {
6 extern "C" {
7
9 typedef int algo_idx_t;
10
12 typedef struct
13 {
15 std::vector<std::unique_ptr<Algorithm>> algos;
17 bool verbose;
19
23 void iguana_print_log_(char const* format, ...);
24
28 void iguana_print_error_(char const* format, ...);
29
35 Algorithm* iguana_get_algo_(algo_idx_t* algo_idx, bool verbose = false);
36
40
43 void iguana_set_config_file_(char const* name);
44
47 void iguana_set_config_dir_(char const* name);
48
52
57
61
66
71
76
80 void iguana_algo_create_(algo_idx_t* algo_idx, char const* algo_name);
81
85 void iguana_algo_set_name_(algo_idx_t* algo_idx, char const* name);
86
90 void iguana_algo_set_log_level_(algo_idx_t* algo_idx, char const* level);
91
95 void iguana_algo_set_config_file_(algo_idx_t* algo_idx, char const* name);
96
100 void iguana_algo_set_config_dir_(algo_idx_t* algo_idx, char const* name);
101
105
109
113 }
114}
Base class for all algorithms to inherit from.
Definition Algorithm.h:40
General iguana bindings.
Definition Bindings.h:5
void iguana_getconfiginstallationprefix_(char *out)
int algo_idx_t
Algorithm instance index type
Definition Bindings.h:9
void iguana_destroy_()
void iguana_algo_set_name_(algo_idx_t *algo_idx, char const *name)
void iguana_algo_create_(algo_idx_t *algo_idx, char const *algo_name)
void iguana_algo_stop_(algo_idx_t *algo_idx)
void iguana_print_log_(char const *format,...)
void iguana_stop_and_keep_()
void iguana_bindings_set_quiet_()
void iguana_algo_start_(algo_idx_t *algo_idx)
void iguana_set_config_dir_(char const *name)
void iguana_set_config_file_(char const *name)
void iguana_print_error_(char const *format,...)
Algorithm * iguana_get_algo_(algo_idx_t *algo_idx, bool verbose=false)
void iguana_bindings_set_verbose_()
void iguana_algo_set_log_level_(algo_idx_t *algo_idx, char const *level)
void iguana_algo_set_config_file_(algo_idx_t *algo_idx, char const *name)
void iguana_algo_set_config_dir_(algo_idx_t *algo_idx, char const *name)
Algorithm instance owner type
Definition Bindings.h:13
bool verbose
Control printout verbosity.
Definition Bindings.h:17
std::vector< std::unique_ptr< Algorithm > > algos
A list of Algorithm instance pointers.
Definition Bindings.h:15