• Logo
    Mir
  • https://canonical.com/mir
  • More resources
    • Discourse
    • Matrix
    • GitHub
Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Mir v2.22.2-641-g2b7e3ac32c documentation
Mir v2.22.2-641-g2b7e3ac32c documentation
  • Tutorials
    • Getting started with Mir
    • Write your first Wayland compositor
  • How-to guides
    • How to handle keyboard input
    • How to integrate a custom Wayland protocol
    • How to specify startup applications
    • Specifying CSD/SSD preference
  • Explanation
    • Accessibility methods
    • User libraries
    • Using Mir to build a desktop environment
    • Graphics Driver Quriks
    • Energy efficiency
    • Performance
    • Platform support
    • Security
    • Window positions under Wayland
  • Reference
    • Mir C++ API documentation
    • Compositors built with Mir
    • Introducing the Miral API
    • Linux kernel requirements for Mir
  • Configuring Mir
    • How-to guides
      • How to calibrate a touchscreen device
      • How to enable remote desktop
      • How to enable screencasting
      • How to use on-screen keyboards
    • Explanation
      • Mir component reports
    • Reference
      • Mir configuration options
  • Contributing to Mir
    • How-to guides
      • How to debug Mir snaps
      • How to enable gpu-2404 on a device
      • Getting involved in Mir
      • How to test Mir for a release
      • How to update symbols map files
      • Using checkbox-mir to validate your snap graphical environment
    • Explanation
      • Architecture
      • Input Platform APIs
      • Libraries
    • Reference
      • Mir continuous integration
      • Mir C++ style guide
      • A brief guide for versioning symbols in the Mir DSOs
Back to top

Class ShmFile¶

  • Defined in File shm_file.h

Inheritance Relationships¶

Derived Type¶

  • public mir::AnonymousShmFile (Class AnonymousShmFile)

Class Documentation¶

class ShmFile¶

Subclassed by mir::AnonymousShmFile

Public Functions

virtual ~ShmFile() = default¶
virtual void *base_ptr() const = 0¶
virtual int fd() const = 0¶

Protected Functions

ShmFile() = default¶
ShmFile(ShmFile const&) = delete¶
ShmFile &operator=(ShmFile const&) = delete¶
Copyright © 2025, Canonical Ltd.
Contents
  • Class ShmFile
    • Inheritance Relationships
      • Derived Type
    • Class Documentation
      • mir::ShmFile
        • ~ShmFile()
        • base_ptr()
        • fd()
        • ShmFile()
        • ShmFile()
        • operator=()