Class SpiceQL::KernelSet
ClassList > SpiceQL > KernelSet
Class for furnishing kernels in bulk. More...
#include <spice_types.h>
Public Attributes
| Type | Name |
|---|---|
| nlohmann::json | m_kernels json used to populate the loadedKernels |
| std::vector< Kernel * > | m_loadedKernels map of path to kernel pointers |
Public Functions
| Type | Name |
|---|---|
| KernelSet (nlohmann::json kernels) Construct a new Kernel Set object. |
|
| KernelSet () = default |
|
| void | load (nlohmann::json kernels) |
| void | unload () |
| ~KernelSet () |
Detailed Description
Given a json object, furnish every kernel under a "kernels" key. The kernels are unloaded as soon as the object goes out of scope.
Generally used on results from a kernel query.
Public Attributes Documentation
variable m_kernels
json used to populate the loadedKernels
variable m_loadedKernels
map of path to kernel pointers
Public Functions Documentation
function KernelSet [1/2]
Construct a new Kernel Set object.
Parameters:
kernels
function KernelSet [2/2]
function load
function unload
function ~KernelSet
The documentation for this class was generated from the following file SpiceQL/include/spice_types.h