librsb
1.3
|
Class initializing/finalizing librsb
state.
More...
Public Member Functions | |
RSBP_RVT Err_t | set_opt_str (const rsb_char_t *opnp, const rsb_char_t *opvp) |
RSBP_RVT Err_t | set_opt (enum rsb_opt_t iof, const void *iop) |
RSBP_RVT Err_t | get_opt (enum rsb_opt_t iof, void *iop) const |
rsb_string_t | get_opt (enum rsb_opt_t iof) const |
RSBP_RVT Err_t | set_num_threads (rsb_int_t nt) |
rsb_int_t | get_num_threads (void) const |
RSBP_RVT Err_t | reinit (struct rsb_initopts *iop) |
RSBP_DEPRECATED | RsbLib (bool verbose) |
RsbLib (void) | |
size_t | meminfo (void) |
~RsbLib (void) | |
Class initializing/finalizing librsb
state.
Before creating any RsbMatrix
objects, make sure you have initialized librsb
by creating one single RsbLib
object. Similarly, RsbMatrix
object shall leave scope after the RsbLib
object has been deallocated.
Several librsb
options can be queried or changed via e.g. get_opt(), set_opt(), get_num_threads(), set_num_threads().
|
inline |
Initialize librsb.
|
inline |
Initialize librsb.
|
inline |
Destructor: finalize librsb
.
This is being invoked at the end of the scope of a RsbLib
object: typically at application's end.
|
inline |
Indirect interface to rsb_lib_get_opt.
Interface to rsb_lib_get_opt.
|
inline |
Interface to rsb_lib_get_opt.
|
inline |
Provide memory debug info from librsb and return usage amount. Only effective if librsb configured accordingly.
On error, throw an exception.
|
inline |
Interface to rsb_lib_reinit().
Indirect interface to rsb_lib_set_opt.
Interface to rsb_lib_set_opt.
|
inline |
Interface to rsb_lib_set_opt_str.