函数 |
| void | init_shogun (void(*print_message)(FILE *target, const char *str), void(*print_warning)(FILE *target, const char *str), void(*print_error)(FILE *target, const char *str), void(*cancel_computations)(bool &delayed, bool &immediately)) |
| void | exit_shogun () |
| void | set_global_io (CIO *io) |
| CIO * | get_global_io () |
| void | set_global_parallel (CParallel *parallel) |
| CParallel * | get_global_parallel () |
| void | set_global_version (CVersion *version) |
| CVersion * | get_global_version () |
| void | set_global_math (CMath *math) |
| CMath * | get_global_math () |
变量 |
| CParallel * | sg_parallel = NULL |
| CIO * | sg_io = NULL |
| CVersion * | sg_version = NULL |
| CMath * | sg_math = NULL |
| void(* | sg_print_message )(FILE *target, const char *str) = NULL |
| | function called to print normal messages
|
| void(* | sg_print_warning )(FILE *target, const char *str) = NULL |
| | function called to print warning messages
|
| void(* | sg_print_error )(FILE *target, const char *str) = NULL |
| | function called to print error messages
|
| void(* | sg_cancel_computations )(bool &delayed, bool &immediately) = NULL |
| | function called to cancel things
|