Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

abort.h File Reference


Detailed Description

low-level GVX_ABORT macro

Definition in file abort.h.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rutz
namespace  rutz::debug

Defines

#define GVX_ABORT(message)   rutz::debug::abort_aux(message, __FILE__, __LINE__)
 Print a message and then abort().

Functions

void rutz::debug::abort_aux (const char *what, const char *where, int line_no) throw ()
 Helper function called frmo the GVX_ABORT() macro.
static const char __attribute__ ((used)) vcid_groovx_rutz_abort_h_utc20050630222645[]


Define Documentation

#define GVX_ABORT message   )     rutz::debug::abort_aux(message, __FILE__, __LINE__)
 

Print a message and then abort().

You probably want to use GVX_PANIC() instead of this macro, GVX_PANIC() will also print a rutz::backtrace if there is one available. However, for truly low-level code that needs to avoid a dependency on rutz::backtrace, there is this bare-bones GVX_ABORT() depends on nothing except std library code.

Definition at line 48 of file abort.h.

Referenced by rutz::backtrace::current(), GVX_DBG_REGISTER::get_current_context(), initialize_prof_list(), rutz::mutex_lock_class::mutex_lock_class(), rutz::static_stack< const error_context_entry *, 256 >::pop(), and rutz::prof::print_prof_data().


Generated on Sun Nov 22 13:44:47 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4