47 #ifndef _MIRA_EXCEPTION_CALLSTACK_SIZE_H_ 48 #define _MIRA_EXCEPTION_CALLSTACK_SIZE_H_ 71 static void set(
unsigned int size) {
instance().mMaxSize = size; }
80 static unsigned int get() {
return instance().mMaxSize; }
83 unsigned int mMaxSize;
Implementation of the CreationPolicy that is used by the Singleton template.
Definition: Singleton.h:174
static Type & instance()
Returns a reference to the singleton instance.
Definition: Singleton.h:544
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
ExceptionCallStackSize is a singleton that provides a mechanism to control the depth of the callstack...
Definition: ExceptionCallStackSize.h:60
A singleton template class that can be freely configured using policies that control the instantiatio...
Definition: Singleton.h:531
A singleton class that can be freely configured using policies that control the creation, instantiation, lifetime and thread-safety.
static const unsigned int MIRA_MAX_CALLSTACK_SIZE
Definition: ExceptionCallStackSize.h:67
static void reset()
Reset callstack start level and max size to initial default value (MIRA_MAX_CALLSTACK_SIZE).
Definition: ExceptionCallStackSize.h:77
ExceptionCallStackSize()
Definition: ExceptionCallStackSize.h:65