Internal assertion helpers
Assertions

Not meant for public consumption. More...

## Classes

class | SurgSim::Framework::AssertMessage
| An internal message class used for assertion failures. More...

## Macros

#define | SURGSIM_ASSERT_LOGGER ::SurgSim::Framework::Logger::getDefaultLogger()
| Logger used to log asserts. More...
#define | SURGSIM_CURRENT_FUNCTION
| Helper macro to determine the function name currently being compiled. More...
#define | SURGSIM_MAKE_STRING(x) #x
| Helper macros to turn its argument into a quoted string constant. More...

## Detailed Description

Not meant for public consumption.

## Macro Definition Documentation

## SURGSIM_ASSERT_LOGGER

#define SURGSIM_ASSERT_LOGGER ::SurgSim::Framework::Logger::getDefaultLogger()

Logger used to log asserts.

The default logger is used if no other logger is defined.

## SURGSIM_CURRENT_FUNCTION

#define SURGSIM_CURRENT_FUNCTION

Helper macro to determine the function name currently being compiled.

Tries to provide some readable but information-rich version of the name, as provided by different compilers.

## SURGSIM_MAKE_STRING

#define SURGSIM_MAKE_STRING | ( |  | x | ) | #x

Helper macros to turn its argument into a quoted string constant.

Parameters

  x | Argument to convert into a string

Returns
  Quoted string constant. Note that macros such as LINE may be quoted literally rather than expanded.