maliput
|
Provides Drake's assertion implementation. This is intended to be used both within Drake and by other software. Drake's asserts can be armed and disarmed independently from the system-wide asserts.
#include <type_traits>
Classes | |
struct | ConditionTraits< Condition > |
Namespaces | |
maliput | |
Code in this file is inspired by: https://github.com/RobotLocomotion/drake/blob/master/common/text_logging.h. | |
maliput::drake | |
maliput::drake::internal | |
maliput::drake::assert | |
Macros | |
#define | MALIPUT_DRAKE_ASSERT_IS_ARMED |
#define | MALIPUT_DRAKE_UNREACHABLE() ::maliput::drake::internal::Abort("Unreachable code was reached?!", __func__, __FILE__, __LINE__) |
#define | MALIPUT_DRAKE_DEMAND(condition) |
#define | MALIPUT_DRAKE_ASSERT(condition) MALIPUT_DRAKE_DEMAND(condition) |
#define | MALIPUT_DRAKE_ASSERT_VOID(expression) |
Functions | |
void | Abort (const char *condition, const char *func, const char *file, int line) |
void | AssertionFailed (const char *condition, const char *func, const char *file, int line) |
Variables | |
constexpr bool | kDrakeAssertIsArmed = true |
constexpr bool | kDrakeAssertIsDisarmed = false |
#define MALIPUT_DRAKE_ASSERT | ( | condition | ) | MALIPUT_DRAKE_DEMAND(condition) |
#define MALIPUT_DRAKE_ASSERT_IS_ARMED |
#define MALIPUT_DRAKE_ASSERT_VOID | ( | expression | ) |
#define MALIPUT_DRAKE_DEMAND | ( | condition | ) |
#define MALIPUT_DRAKE_UNREACHABLE | ( | ) | ::maliput::drake::internal::Abort("Unreachable code was reached?!", __func__, __FILE__, __LINE__) |