Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::Thread::TerminateException Class Reference

Special thread exception thrown by system blocking functions to terminate the thread. More...

#include <Thread.h>

Inheritance diagram for sf::Thread::TerminateException:
Collaboration diagram for sf::Thread::TerminateException:

Public Member Functions

 TerminateException (const std::string &from)
 
- Public Member Functions inherited from sf::Thread::ThreadException
 ThreadException (const char *message) noexcept
 Constructor initializing message.
 
template<typename... Args>
 ThreadException (const char *format, Args &&... args) noexcept
 Formatting constructor.
 
- Public Member Functions inherited from sf::ExceptionBase< ThreadException >
 ExceptionBase () noexcept
 Default Constructor.
 
 ExceptionBase (const ExceptionBase &ex) noexcept
 Copy constructor.
 
 ExceptionBase (const ExceptionBase &&ex) noexcept
 Move constructor.
 
const char * what () const noexcept override
 Overloaded from base class 'std::exception'.
 
void formatMessage (const char *format, Args... args) noexcept
 Formats the exception message according sprintf().
 
void formatMessage (const char *message) noexcept
 Formats the exception message when no arguments are given.
 
ThreadException Function (const char *mangled_name, const char *func, const char *format, Args &&... args)
 
ThreadException Function (const char *mangled_name, const char *func, const char *message)
 Formatting function with a class type_info and passing the message without formatting.
 

Additional Inherited Members

- Protected Types inherited from sf::ExceptionBase< ThreadException >
enum  
 Enumerate which sets the buffer size for formatting. More...
 
- Protected Attributes inherited from sf::ExceptionBase< ThreadException >
std::unique_ptr< char > _msg
 Pointer to message string.
 

Detailed Description

Special thread exception thrown by system blocking functions to terminate the thread.

See also
ThreadException

Constructor & Destructor Documentation

◆ TerminateException()

sf::Thread::TerminateException::TerminateException ( const std::string &  from)
inlineexplicit

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