6#ifndef BEZIER_COM_TRAJ_FLAGS_H
7#define BEZIER_COM_TRAJ_FLAGS_H
16 UNKNOWN_COST = 0x00008
39 UNKNOWN_REPRESENTATION = 0x00004
43 return static_cast<ConstraintFlag
>(~static_cast<const int>(a));
46inline ConstraintFlag
operator|(ConstraintFlag a, ConstraintFlag b) {
47 return static_cast<ConstraintFlag
>(
static_cast<const int>(a) |
48 static_cast<const int>(b));
51inline ConstraintFlag
operator&(ConstraintFlag a, ConstraintFlag b) {
52 return static_cast<ConstraintFlag
>(
static_cast<const int>(a) &
53 static_cast<const int>(b));
56inline ConstraintFlag
operator^(ConstraintFlag a, ConstraintFlag b) {
57 return static_cast<ConstraintFlag
>(
static_cast<const int>(a) ^
58 static_cast<const int>(b));
61inline ConstraintFlag&
operator|=(ConstraintFlag& a, ConstraintFlag b) {
62 return (ConstraintFlag&)((
int&)(a) |=
static_cast<const int>(b));
65inline ConstraintFlag&
operator&=(ConstraintFlag& a, ConstraintFlag b) {
66 return (ConstraintFlag&)((
int&)(a) &=
static_cast<const int>(b));
69inline ConstraintFlag&
operator^=(ConstraintFlag& a, ConstraintFlag b) {
70 return (ConstraintFlag&)((
int&)(a) ^=
static_cast<const int>(b));
END_ACC
Definition flags.hh:25
THREE_FREE_VAR
Definition flags.hh:30
INIT_VEL
Definition flags.hh:21
END_VEL
Definition flags.hh:24
ACCELERATION
Definition flags.hh:13
END_POS
Definition flags.hh:23
FIVE_FREE_VAR
Definition flags.hh:32
INIT_ACC
Definition flags.hh:22
INIT_POS
Definition flags.hh:20
TWO_FREE_VAR
Definition flags.hh:29
DISTANCE_TRAVELED
Definition flags.hh:14
TARGET_END_VELOCITY
Definition flags.hh:15
ONE_FREE_VAR
Definition flags.hh:28
INIT_JERK
Definition flags.hh:26
DOUBLE_DESCRIPTION
Definition flags.hh:37
FOUR_FREE_VAR
Definition flags.hh:31
END_JERK
Definition flags.hh:27
FORCE
Definition flags.hh:38
#define BEZIER_COM_TRAJ_DLLAPI
Definition local_config.hh:52
Definition common_solve_methods.hh:15
ConstraintFlag operator|(ConstraintFlag a, ConstraintFlag b)
Definition flags.hh:46
ConstraintFlag & operator^=(ConstraintFlag &a, ConstraintFlag b)
Definition flags.hh:69
ConstraintFlag & operator&=(ConstraintFlag &a, ConstraintFlag b)
Definition flags.hh:65
ConstraintFlag operator^(ConstraintFlag a, ConstraintFlag b)
Definition flags.hh:56
ConstraintFlag operator~(ConstraintFlag a)
Definition flags.hh:42
ConstraintFlag operator&(ConstraintFlag a, ConstraintFlag b)
Definition flags.hh:51
ConstraintFlag & operator|=(ConstraintFlag &a, ConstraintFlag b)
Definition flags.hh:61