COPP C++ API
C++ interface for COPP trajectory optimization
Loading...
Searching...
No Matches
copp::detail Namespace Reference

Internal helpers for error conversion, no-throw overloads, and small implementation utilities used by the public facade. More...

Functions

template<typename Fn>
auto expected_from (Fn &&fn) -> Expected< typename std::decay< decltype(fn())>::type >
COPP_API const void * path_handle (const Path &path) noexcept
 Return the private bridge handle stored by Path.
COPP_API const void * robot_handle (const Robot &robot) noexcept
 Return the private bridge handle stored by Robot.
COPP_API void * robot_handle_mut (Robot &robot) noexcept
 Return the mutable private bridge handle stored by Robot.
COPP_API const void * constraints_handle (ConstraintsRef constraints) noexcept
 Return the private bridge handle stored by ConstraintsRef.
COPP_API void * constraints_handle_mut (ConstraintsRef constraints) noexcept
 Return the mutable private bridge handle stored by ConstraintsRef.

Detailed Description

Internal helpers for error conversion, no-throw overloads, and small implementation utilities used by the public facade.

This namespace is not intended as an application API.

Function Documentation

◆ expected_from()

template<typename Fn>
auto copp::detail::expected_from ( Fn && fn) -> Expected< typename std::decay< decltype(fn())>::type >

Definition at line 580 of file core.hpp.

◆ path_handle()

COPP_API const void * copp::detail::path_handle ( const Path & path)
noexcept

Return the private bridge handle stored by Path.

This is an implementation hook for other C++ facade translation units. Public users should not call it; it intentionally returns void* so public headers do not expose generated cxx bridge types.

◆ robot_handle()

COPP_API const void * copp::detail::robot_handle ( const Robot & robot)
noexcept

Return the private bridge handle stored by Robot.

This is an implementation hook for solver facade translation units. Public users should pass Robot objects to solver problem constructors instead of calling this function.

◆ robot_handle_mut()

COPP_API void * copp::detail::robot_handle_mut ( Robot & robot)
noexcept

Return the mutable private bridge handle stored by Robot.

This is used by third-order problem constructors because immediate linearization updates cached constraint rows.

◆ constraints_handle()

COPP_API const void * copp::detail::constraints_handle ( ConstraintsRef constraints)
noexcept

Return the private bridge handle stored by ConstraintsRef.

This is an implementation hook for solver facade translation units. Public users should pass ConstraintsRef objects to solver problem constructors instead of calling this function.

◆ constraints_handle_mut()

COPP_API void * copp::detail::constraints_handle_mut ( ConstraintsRef constraints)
noexcept

Return the mutable private bridge handle stored by ConstraintsRef.

This is used by third-order problem constructors because immediate linearization updates cached constraint rows.