|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include <memory>Go to the source code of this file.
Macros | |
| #define | MOMENTUM_DEFINE_POINTERS(x) |
Define the standard set of smart-pointer type aliases for type x. | |
| #define | MOMENTUM_FWD_DECLARE_STRUCT(x) |
Forward-declare struct x and define its smart-pointer aliases. | |
| #define | MOMENTUM_FWD_DECLARE_CLASS(x) |
Forward-declare class x and define its smart-pointer aliases. | |
| #define | MOMENTUM_FWD_DECLARE_TEMPLATE_CLASS(x) |
Forward-declare a single-template-parameter class x##T and define float/double instantiation aliases plus their smart-pointer aliases. | |
| #define | MOMENTUM_FWD_DECLARE_TEMPLATE_STRUCT(x) |
Forward-declare a single-template-parameter struct x##T and define float/double instantiation aliases plus their smart-pointer aliases. | |
| #define MOMENTUM_DEFINE_POINTERS | ( | x | ) |
Define the standard set of smart-pointer type aliases for type x.
Generates six aliases following the project naming convention:
x must be a previously declared (or forward-declared) type name. | #define MOMENTUM_FWD_DECLARE_CLASS | ( | x | ) |
Forward-declare class x and define its smart-pointer aliases.
| #define MOMENTUM_FWD_DECLARE_STRUCT | ( | x | ) |
Forward-declare struct x and define its smart-pointer aliases.
| #define MOMENTUM_FWD_DECLARE_TEMPLATE_CLASS | ( | x | ) |
Forward-declare a single-template-parameter class x##T and define float/double instantiation aliases plus their smart-pointer aliases.
Uses the project's backward-compatible naming scheme:
Smart-pointer aliases are generated for both Bar and Bard (e.g. Bar_p, Bard_p, ...).
x##T must be a class template with exactly one type parameter. | #define MOMENTUM_FWD_DECLARE_TEMPLATE_STRUCT | ( | x | ) |
Forward-declare a single-template-parameter struct x##T and define float/double instantiation aliases plus their smart-pointer aliases.
Uses the project's backward-compatible naming scheme:
Smart-pointer aliases are generated for both Bar and Bard (e.g. Bar_p, Bard_p, ...).
x##T must be a struct template with exactly one type parameter.