Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IStackTraceService Class Referenceabstract

Public Member Functions

virtual void build ()=0
virtual StackTrace stackTrace (int first_function=0)=0
 Character string indicating the call stack.
virtual StackTrace stackTraceFunction (int function_index)=0
 Name of a function in the call stack.

Detailed Description

Constructor & Destructor Documentation

◆ ~IStackTraceService()

virtual Arcane::IStackTraceService::~IStackTraceService ( )
inlinevirtual

Member Function Documentation

◆ stackTrace()

virtual StackTrace Arcane::IStackTraceService::stackTrace ( int first_function = 0)
pure virtual

Character string indicating the call stack.

first_function indicates the number in the stack of the first function displayed in the trace.

Referenced by Arcane::Platform::dumpStackTrace(), and Arcane::Platform::getStackTrace().

◆ stackTraceFunction()

virtual StackTrace Arcane::IStackTraceService::stackTraceFunction ( int function_index)
pure virtual

Name of a function in the call stack.

function_index indicates the position of the function to return in the call stack. For example, 0 indicates the current function, 1 the previous one (i.e., the one calling this method).


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