ExceptionCallStackSize is a singleton that provides a mechanism to control the depth of the callstack that is stored with exceptions (e.g.
More...
#include <error/ExceptionCallStackSize.h>
ExceptionCallStackSize is a singleton that provides a mechanism to control the depth of the callstack that is stored with exceptions (e.g.
for logging).
◆ Type
◆ ExceptionCallStackSize()
◆ set()
static void set |
( |
unsigned int |
size | ) |
|
|
inlinestatic |
◆ reset()
◆ get()
static unsigned int get |
( |
| ) |
|
|
inlinestatic |
Query callstack max size.
◆ instance()
static Type& instance |
( |
| ) |
|
|
inlinestaticinherited |
Returns a reference to the singleton instance.
- Exceptions
-
XSingleton | If the singleton was already destroyed (dead reference) or not yet created (when using ExplicitInstantiation). |
◆ isDestroyed()
static bool isDestroyed |
( |
| ) |
|
|
inlinestaticinherited |
Returns true, if the singleton was already destroyed.
Trying to access it will result in an exception.
◆ makeInstance()
static Type* makeInstance |
( |
| ) |
|
|
inlinestaticprotectedinherited |
◆ destroyInstance()
static void destroyInstance |
( |
void |
| ) |
|
|
inlinestaticprotectedinherited |
◆ singleton::CreateUsingNew< ExceptionCallStackSize >
◆ MIRA_MAX_CALLSTACK_SIZE
const unsigned int MIRA_MAX_CALLSTACK_SIZE = 16 |
|
staticprotected |
The documentation for this class was generated from the following file: