User Manual, Developers Guide and API Documentation

wns::simulator::SegmentationViolationHandler Class Reference

This signal handler will catch segmentation faults try to print the current stack and attach the GNU Debugger 'gdb' if enabled. It exits with -SIGSEGV. More...

#include <simulator/SegmentationViolationHandler.hpp>

Inheritance diagram for wns::simulator::SegmentationViolationHandler:

Inheritance graph
[legend]
Collaboration diagram for wns::simulator::SegmentationViolationHandler:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SegmentationViolationHandler (bool attachDebugger, const std::string &debuggerName, const std::string &programName)

Private Member Functions

virtual void doCall ()

Private Attributes

bool attachDebugger_
std::string debuggerName_
std::string programName_


Detailed Description

Author:
Marc Schinnenburg <marc@schinnenburg.com>

Definition at line 43 of file SegmentationViolationHandler.hpp.


Constructor & Destructor Documentation

SegmentationViolationHandler::SegmentationViolationHandler ( bool  attachDebugger,
const std::string &  debuggerName,
const std::string &  programName 
)

Definition at line 36 of file SegmentationViolationHandler.cpp.


Member Function Documentation

void SegmentationViolationHandler::doCall (  )  [private, virtual]


Member Data Documentation

Definition at line 56 of file SegmentationViolationHandler.hpp.

Definition at line 57 of file SegmentationViolationHandler.hpp.

Definition at line 58 of file SegmentationViolationHandler.hpp.


The documentation for this class was generated from the following files:

Generated on Sun May 27 03:33:06 2012 for openWNS by  doxygen 1.5.5