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