PLCnext API Documentation 25.0.2.69
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Arp::Base::Commons::Runtime::Stacktrace Class Reference

This class provides a stacktrace. More...

#include <Stacktrace.hpp>

Public Types

using Items = std::vector< String >
 

Public Member Functions

 Stacktrace (const Stacktrace &arg)
 Default copy constructor.
 
 Stacktrace (Stacktrace &&arg) noexcept
 Default move constructor.
 
Stacktraceoperator= (const Stacktrace &arg)
 Default copy-assignment operator.
 
Stacktraceoperator= (Stacktrace &&arg) noexcept
 Default move-assignment operator.
 
 ~Stacktrace (void)
 Default destructor.
 
const Items & GetItems (void) const
 Gets the list of function invocations as strings of this stacktrace. More...
 
Impl & GetImpl (void)
 For internal use only.
 
const Impl & GetImpl (void) const
 

Static Public Member Functions

static Stacktrace GetCurrent (size_t skipDepth=0)
 Gets the curernt stacktrace. More...
 

Detailed Description

This class provides a stacktrace.

Member Function Documentation

◆ GetCurrent()

Stacktrace Arp::Base::Commons::Runtime::Stacktrace::GetCurrent ( size_t  skipDepth = 0)
static

Gets the curernt stacktrace.

Parameters
skipDepthThe number of invocations to be skipped.

◆ GetItems()

const Stacktrace::Items & Arp::Base::Commons::Runtime::Stacktrace::GetItems ( void  ) const

Gets the list of function invocations as strings of this stacktrace.

Returns
The stacktrace items.

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