PLCnext API Documentation
25.0.2.69
Arp
System
Commons
Runtime
Stacktrace.hpp
1
2
//
3
// Copyright Phoenix Contact GmbH & Co. KG
4
//
6
#pragma once
7
#include "
Arp/System/Core/Arp.h
"
8
#include <list>
9
10
namespace
Arp
{
namespace
System {
namespace
Commons {
namespace
Runtime
11
{
12
13
class
Stacktrace
14
{
15
public
:
// usings
16
using
Items = std::list<String>;
17
18
public
:
// construction
19
Stacktrace
(
void
) =
default
;
20
21
public
:
// static operations
22
static
Stacktrace
GetCurrent(
int
skipDepth = 0);
23
24
public
:
// setter/getter operations
25
const
Items& GetItems(
void
)
const
;
26
27
private
:
// methods
28
void
Create(
int
skipDepth);
29
void
CreateLinux(
int
skipDepth);
30
void
CreateWindows(
int
skipDepth);
31
32
private
:
// fields
33
Items items;
34
35
private
:
// static fields
36
static
constexpr
size_t
maxDepth = 64;
37
};
38
39
}}}}
// end of namespace Arp::System::Commons::Runtime
Arp.h
Arp::System::Commons::Runtime::Stacktrace
Definition:
Stacktrace.hpp:14
Arp
Root namespace for the PLCnext API
Generated on Mon May 12 2025 14:03:43 for PLCnext API Documentation by
1.9.4