|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
RAII handle for the process-wide runtime. More...
#include <core.hpp>
Public Member Functions | |
| Runtime () | |
| Initialise with defaults. | |
| Runtime (const ::occtl_runtime_init_info_t &theInfo) | |
| Initialise with explicit options. | |
| ~Runtime () noexcept | |
| Shuts down the runtime. Silently swallows any shutdown failure because this is called from destructor contexts (move-assignment, unwind) and must never throw. | |
| Runtime (const Runtime &)=delete | |
| Runtime & | operator= (const Runtime &)=delete |
| Runtime (Runtime &&theOther) noexcept | |
| Runtime & | operator= (Runtime &&theOther) noexcept |
RAII handle for the process-wide runtime.
Constructor calls occtl_runtime_init; destructor calls occtl_runtime_shutdown. Move-only; constructing a second Runtime while the first is alive is undefined.