Mir
|
Namespaces | |
client | |
Convenient C++ wrappers around the Mir toolkit API. | |
detail | |
events | |
frontend | |
geometry | |
Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support. | |
graphics | |
scene | |
shell | |
Classes | |
class | AbnormalExit |
Indicates Mir should exit with an error message printed to stderr. More... | |
class | ExitWithOutput |
Indicates Mir should exit with the given output (such as help text) printed to stdout. More... | |
class | AnonymousShmFile |
class | FatalErrorStrategy |
struct | IntOwnedFd |
class | Fd |
class | IntWrapper |
class | optional_value |
class | ShmFile |
Typedefs | |
typedef std::unique_ptr< MirEvent, void(*)(MirEvent *)> | EventUPtr |
Functions | |
auto | mir_depth_layer_get_index (MirDepthLayer depth_layer) -> unsigned int |
Returns the height of a MirDepthLayer. More... | |
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) |
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, MirWindowAttrib attribute) |
std::ostream & | operator<< (std::ostream &out, MirWindowFocusState state) |
std::ostream & | operator<< (std::ostream &out, MirWindowVisibility state) |
std::ostream & | operator<< (std::ostream &out, MirWindowType type) |
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) |
Variables | |
void(* | fatal_error )(char const *reason,...) |
fatal_error() is strictly for "this should never happen" situations that you cannot recover from. More... | |
typedef std::unique_ptr<MirEvent, void(*)(MirEvent*)> mir::EventUPtr |
void mir::fatal_error_abort | ( | char const * | reason, |
... | |||
) |
An alternative to fatal_error_except() that kills the program and dump core as cleanly as possible.
[in] | reason | A printf-style format string. |
void mir::fatal_error_except | ( | char const * | reason, |
... | |||
) |
Throws an exception that will typically kill the Mir server and propagate from mir::run_mir.
[in] | reason | A printf-style format string. |
auto mir::mir_depth_layer_get_index | ( | MirDepthLayer | depth_layer | ) | -> unsigned int |
Returns the height of a MirDepthLayer.
As the name implies, the returned value is usable as an array index (0 is returned for the bottommost layer and there are no gaps between layers). The values returned for each layer are in no way stable across Mir versions, and are only meaningful relative to each other.
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
IntWrapper< Tag, ValueType > const & | value | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirCloseWindowEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirInputDeviceStateEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirInputEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirInputEventModifier | modifier | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirKeyboardAction | action | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirKeymapEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirOrientation | orientation | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirOrientationEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirPointerAction | action | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirPromptSessionEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirPromptSessionState | state | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirResizeEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirTouchAction | action | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirTouchTooltype | tool | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirWindowAttrib | attribute | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirWindowEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirWindowFocusState | state | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirWindowOutputEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirWindowPlacementEvent const & | event | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirWindowState | state | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirWindowType | type | ||
) |
std::ostream& mir::operator<< | ( | std::ostream & | out, |
MirWindowVisibility | state | ||
) |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
|
extern |
fatal_error() is strictly for "this should never happen" situations that you cannot recover from.
By default it points at fatal_error_abort(). Note the reason parameter is a simple char* so its value is clearly visible in stack trace output.
[in] | reason | A printf-style format string. |
Copyright © 2012-2021
Canonical Ltd.
Generated on Wed Mar 31 08:25:47 UTC 2021
This documentation is licensed under the GPL version 2 or 3.