AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time.
More...
|
| std::ostream & | operator<< (std::ostream &out, MirInputEventModifier modifier) |
| |
| std::ostream & | operator<< (std::ostream &out, MirKeyboardAction action) |
| |
| std::ostream & | operator<< (std::ostream &out, MirTouchAction action) |
| |
| std::ostream & | operator<< (std::ostream &out, MirTouchTooltype tool) |
| |
| std::ostream & | operator<< (std::ostream &out, MirPointerAction action) |
| |
| std::ostream & | operator<< (std::ostream &out, MirPromptSessionState state) |
| |
| std::ostream & | operator<< (std::ostream &out, MirOrientation orientation) |
| |
| std::ostream & | operator<< (std::ostream &out, MirSurfaceAttrib attribute) MIR_FOR_REMOVAL_IN_VERSION_1("use << with MirWindowAttrib instead") |
| |
| std::ostream & | operator<< (std::ostream &out, MirWindowAttrib attribute) |
| |
| std::ostream & | operator<< (std::ostream &out, MirSurfaceFocusState state) MIR_FOR_REMOVAL_IN_VERSION_1("use << with MirWindowFocusState instead") |
| |
| std::ostream & | operator<< (std::ostream &out, MirWindowFocusState state) |
| |
| std::ostream & | operator<< (std::ostream &out, MirSurfaceVisibility state) MIR_FOR_REMOVAL_IN_VERSION_1("use << with MirWindowVisibility instead") |
| |
| std::ostream & | operator<< (std::ostream &out, MirWindowVisibility state) |
| |
| std::ostream & | operator<< (std::ostream &out, MirSurfaceType type) MIR_FOR_REMOVAL_IN_VERSION_1("use << with MirWindowType instead") |
| |
| std::ostream & | operator<< (std::ostream &out, MirWindowType type) |
| |
| std::ostream & | operator<< (std::ostream &out, MirSurfaceState state) MIR_FOR_REMOVAL_IN_VERSION_1("use << with MirWindowState instead") |
| |
| std::ostream & | operator<< (std::ostream &out, MirWindowState state) |
| |
| std::ostream & | operator<< (std::ostream &out, MirPromptSessionEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirResizeEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirOrientationEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirInputEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirCloseWindowEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirKeymapEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirWindowEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirInputDeviceStateEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirWindowPlacementEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirWindowOutputEvent const &event) |
| |
| std::ostream & | operator<< (std::ostream &out, MirEvent const &event) |
| |
| template<typename ReferenceTypename , typename EntryPoint > |
| void | assert_entry_point_signature (EntryPoint) |
| |
| template<typename Enum > |
| constexpr Flags< Enum > | operator| (Flags< Enum > flags, Enum e) noexcept |
| |
| template<typename Enum > |
| constexpr Flags< Enum > | operator| (Enum e, Flags< Enum > flags) noexcept |
| |
| template<typename Enum > |
| constexpr Enum | operator & (Enum e, Flags< Enum > flags) noexcept |
| |
| template<typename Enum > |
| constexpr Enum | operator & (Flags< Enum > flags, Enum e) noexcept |
| |
| template<typename Enum > |
| constexpr bool | operator== (Flags< Enum > flags, Enum e) noexcept |
| |
| template<typename Enum > |
| constexpr bool | operator== (Enum e, Flags< Enum > flags) noexcept |
| |
| template<typename Enum > |
| constexpr bool | contains (Flags< Enum > flags, Enum e) noexcept |
| |
| void | logv (logging::Severity sev, const char *component, char const *fmt, va_list va) |
| |
| void | log (logging::Severity sev, const char *component, char const *fmt,...) |
| |
| void | log (logging::Severity sev, const char *component, std::string const &message) |
| |
| void | log (logging::Severity sev, char const *component, std::exception_ptr const &exception, std::string const &message) |
| |
| void | fatal_error_except (char const *reason,...) |
| | Throws an exception that will typically kill the Mir server and propagate from mir::run_mir. More...
|
| |
| void | fatal_error_abort (char const *reason,...) |
| | An alternative to fatal_error_except() that kills the program and dump core as cleanly as possible. More...
|
| |
| template<typename Tag , typename ValueType > |
| std::ostream & | operator<< (std::ostream &out, IntWrapper< Tag, ValueType > const &value) |
| |
| template<typename Tag , typename ValueType > |
| constexpr bool | operator== (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs) |
| |
| template<typename Tag , typename ValueType > |
| constexpr bool | operator!= (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs) |
| |
| template<typename Tag , typename ValueType > |
| constexpr bool | operator<= (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs) |
| |
| template<typename Tag , typename ValueType > |
| constexpr bool | operator>= (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs) |
| |
| template<typename Tag , typename ValueType > |
| constexpr bool | operator< (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs) |
| |
| template<typename T > |
| bool | operator== (optional_value< T > const &lhs, optional_value< T > const &rhs) |
| |
| template<typename T > |
| bool | operator!= (optional_value< T > const &lhs, optional_value< T > const &rhs) |
| |
| template<typename T > |
| bool | operator== (optional_value< T > const &lhs, T const &rhs) |
| |
| template<typename T > |
| bool | operator!= (optional_value< T > const &lhs, T const &rhs) |
| |
| template<typename T > |
| bool | operator== (T const &lhs, optional_value< T > const &rhs) |
| |
| template<typename T > |
| bool | operator!= (T const &lhs, optional_value< T > const &rhs) |
| |
AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time.
This is helpul for tests that botch create threads and use ASSERT macros for example (or any other condition that makes the test exit early). Using naked std::thread would call std::terminate under such conditions.