COPP C++ API
C++ interface for COPP trajectory optimization
Loading...
Searching...
No Matches
core.hpp File Reference
#include <cstddef>
#include <initializer_list>
#include <optional>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  copp::IndexInterval
 Closed station-index interval used by TOPP/COPP problem descriptors. More...
struct  copp::Boundary2
 Second-order endpoint boundary values. More...
struct  copp::Boundary3
 Third-order endpoint boundary values. More...
class  copp::Error
 Exception type thrown by the default C++ API. More...
class  copp::Span< T >
 Non-owning view of a contiguous one-dimensional array. More...
class  copp::MatrixView
 Non-owning view of a two-dimensional double matrix. More...
class  copp::MatrixRef
 Mutable column-major matrix view used by callback APIs. More...
class  copp::Matrix
 Lightweight owned column-major matrix. More...
struct  copp::ErrorInfo
 Lightweight error payload returned by no-throw APIs. More...
class  copp::Expected< T >
 Small C++17 expected-like result used by no-throw overloads. More...
struct  copp::NoThrowTag
 Tag object selecting no-throw overloads. More...

Namespaces

namespace  copp
 Root namespace for the C++ facade: paths, robots, constraints, matrices, profiles, errors, objectives, interpolation, and solver entry points.
namespace  copp::detail
 Internal helpers for error conversion, no-throw overloads, and small implementation utilities used by the public facade.

Macros

#define COPP_API

Enumerations

enum class  copp::Status { copp::ok = 0 , copp::invalid_input , copp::bridge_error }
 Coarse error category reported by the C++ facade. More...
enum class  copp::Verbosity { copp::Silent = 0 , copp::Summary = 1 , copp::Debug = 2 , copp::Trace = 3 }
 Diagnostic verbosity for solver algorithms. More...
enum class  copp::MatrixLayout { copp::ColumnMajor , copp::RowMajor }
 Memory layout for borrowed matrix views. More...

Functions

COPP_API std::string copp::version ()
 Return the Rust crate version backing this C++ facade.
template<typename Fn>
auto copp::detail::expected_from (Fn &&fn) -> Expected< typename std::decay< decltype(fn())>::type >

Variables

constexpr NoThrowTag copp::no_throw {}

Macro Definition Documentation

◆ COPP_API

#define COPP_API

Definition at line 23 of file core.hpp.