Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Classes | Functions | Variables
mir Namespace Reference

All things Mir. More...

Namespaces

 client
 The client-side library implementation namespace.
 
 compositor
 Compositing. Combining renderables into a display image.
 
 draw
 
 examples
 
 frontend
 Frontend interface. Mediates the interaction between client processes and the core of the mir system.
 
 geometry
 Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support.
 
 graphics
 Graphics subsystem. Mediates interaction between core system and the graphics environment.
 
 input
 
 logging
 
 mir_test_framework
 
 options
 System options. Interface for extracting configuration options from wherever they may be (e.g. program arguments, config files or environment variables).
 
 protobuf
 subsystem dealing with Google protobuf protocol.
 
 raii
 Utilities for exception safe use of paired function calls.
 
 report
 
 scene
 Management of Surface objects. Includes the model (SurfaceStack and Surface classes) and controller (SurfaceController) elements of an MVC design.
 
 shell
 
 test
 
 time
 
 tools
 
 udev
 

Classes

class  AbnormalExit
 
class  AsioMainLoop
 
class  DefaultServerConfiguration
 
class  DefaultServerStatusListener
 
class  DisplayChanger
 
class  DisplayServer
 
class  MainLoop
 
class  ServerConfiguration
 
class  ServerStatusListener
 
class  CachedPtr
 
class  IntWrapper
 
class  SharedLibrary
 
struct  EmptyDeleter
 

Functions

SharedLibrary const * load_library (std::string const &libname)
 
void report_exception (std::ostream &out)
 Call this from a catch block (and only from a catch block) to write error information to an output stream. More...
 
void run_mir (ServerConfiguration &config, std::function< void(DisplayServer &)> init)
 Run a DisplayServer with the supplied configuration. More...
 
template<typename Tag , typename ValueType >
std::ostream & operator<< (std::ostream &out, IntWrapper< Tag, ValueType > const &value)
 
template<typename Tag , typename ValueType >
bool operator== (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs)
 
template<typename Tag , typename ValueType >
bool operator!= (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs)
 
template<typename Tag , typename ValueType >
bool operator<= (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs)
 
template<typename Tag , typename ValueType >
bool operator>= (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs)
 
template<typename Tag , typename ValueType >
bool operator< (IntWrapper< Tag, ValueType > const &lhs, IntWrapper< Tag, ValueType > const &rhs)
 

Variables

const char *const default_server_socket = init()
 

Detailed Description

All things Mir.

Function Documentation

mir::SharedLibrary const * mir::load_library ( std::string const &  libname)
template<typename Tag , typename ValueType >
bool mir::operator!= ( IntWrapper< Tag, ValueType > const &  lhs,
IntWrapper< Tag, ValueType > const &  rhs 
)
inline
template<typename Tag , typename ValueType >
bool mir::operator< ( IntWrapper< Tag, ValueType > const &  lhs,
IntWrapper< Tag, ValueType > const &  rhs 
)
inline
template<typename Tag , typename ValueType >
std::ostream& mir::operator<< ( std::ostream &  out,
IntWrapper< Tag, ValueType > const &  value 
)
template<typename Tag , typename ValueType >
bool mir::operator<= ( IntWrapper< Tag, ValueType > const &  lhs,
IntWrapper< Tag, ValueType > const &  rhs 
)
inline
template<typename Tag , typename ValueType >
bool mir::operator== ( IntWrapper< Tag, ValueType > const &  lhs,
IntWrapper< Tag, ValueType > const &  rhs 
)
inline
template<typename Tag , typename ValueType >
bool mir::operator>= ( IntWrapper< Tag, ValueType > const &  lhs,
IntWrapper< Tag, ValueType > const &  rhs 
)
inline
void mir::report_exception ( std::ostream &  out)

Call this from a catch block (and only from a catch block) to write error information to an output stream.

Examples:
demo_shell.cpp, and render_surfaces.cpp.
void mir::run_mir ( ServerConfiguration &  config,
std::function< void(DisplayServer &)>  init 
)

Run a DisplayServer with the supplied configuration.

init will be called after constructing the server, but before invoking DisplayServer::run() The server will be stopped on receipt of SIGTERM or SIGINT This function does not return until the server has stopped.

Examples:
demo_shell.cpp, and render_surfaces.cpp.

Variable Documentation

const char *const mir::default_server_socket = init()

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014