OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl::Runtime Class Reference

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
 
Runtimeoperator= (const Runtime &)=delete
 
 Runtime (Runtime &&theOther) noexcept
 
Runtimeoperator= (Runtime &&theOther) noexcept
 

Detailed Description

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.


The documentation for this class was generated from the following file: