![]() |
siderust-cpp 0.8.0
Header-only C++ wrapper for siderust
|
#include <siderust/astro_context.hpp>
Public Member Functions | |
| OwnedFfiContext () | |
| Create a context using the Rust library's built-in default model. | |
| OwnedFfiContext (EarthOrientationModel model) | |
| OwnedFfiContext (const AstroContext &ctx) | |
| OwnedFfiContext (const OwnedFfiContext &)=delete | |
| OwnedFfiContext & | operator= (const OwnedFfiContext &)=delete |
| ~OwnedFfiContext () | |
| EarthOrientationModel | model () const |
| Query the Earth-orientation model stored inside this FFI context handle. | |
| const siderust_context_t * | get () const |
RAII wrapper around a siderust_context_t* created from an EarthOrientationModel. Used by the coordinate transform wrappers to call the new _with_context FFI variants.
Definition at line 58 of file astro_context.hpp.
|
inline |
Create a context using the Rust library's built-in default model.
Definition at line 61 of file astro_context.hpp.
References siderust::check_status().
Referenced by operator=(), OwnedFfiContext(), and OwnedFfiContext().
|
inlineexplicit |
Definition at line 65 of file astro_context.hpp.
References siderust::check_status(), and model().
|
inlineexplicit |
Definition at line 70 of file astro_context.hpp.
References model(), and OwnedFfiContext().
|
delete |
References OwnedFfiContext().
|
inline |
Definition at line 75 of file astro_context.hpp.
|
inline |
Definition at line 88 of file astro_context.hpp.
Referenced by siderust::cartesian::Direction< frames::EclipticMeanJ2000 >::to_frame_with(), siderust::cartesian::Displacement< F, U >::to_frame_with(), siderust::cartesian::Position< centers::Heliocentric, frames::EclipticMeanJ2000, U >::to_frame_with(), siderust::spherical::Direction< frames::EclipticMeanJ2000 >::to_frame_with(), and siderust::spherical::Direction< frames::EclipticMeanJ2000 >::to_horizontal_with().
|
inline |
Query the Earth-orientation model stored inside this FFI context handle.
Definition at line 82 of file astro_context.hpp.
References siderust::check_status().
Referenced by OwnedFfiContext(), and OwnedFfiContext().
|
delete |
References OwnedFfiContext().