All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros
Internal assertion helpers

Not meant for public consumption. More...

Collaboration diagram for Internal assertion helpers:

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

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

Logger used to log asserts.

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

#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.

#define SURGSIM_MAKE_STRING (   x)    #x

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

Parameters
xArgument to convert into a string
Returns
Quoted string constant. Note that macros such as LINE may be quoted literally rather than expanded.