The Pedigree Project 0.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Framebuffer::FrameGuard Class Reference

#include <pedigree_fb.h>

+ Collaboration diagram for Framebuffer::FrameGuard:

Public Member Functions

 FrameGuard (const Framebuffer &framebuffer)
 
 operator bool () const
 

Private Member Functions

 FrameGuard (const FrameGuard &)=delete
 
FrameGuard & operator= (const FrameGuard &)=delete
 

Private Attributes

sigset_t m_PreviousMask
 
bool m_Masked
 
bool m_Active
 

Detailed Description

Keeps VT release notifications deferred until scanout writes finish.

Definition at line 42 of file pedigree_fb.h.

Constructor & Destructor Documentation

◆ FrameGuard()

Framebuffer::FrameGuard::FrameGuard ( const Framebuffer &  framebuffer)
explicit

Definition at line 71 of file fb.cc.

◆ ~FrameGuard()

Framebuffer::FrameGuard::~FrameGuard ( )

Definition at line 82 of file fb.cc.

Member Function Documentation

◆ operator bool()

Framebuffer::FrameGuard::operator bool ( ) const
inlineexplicit

Definition at line 46 of file pedigree_fb.h.

Member Data Documentation

◆ m_Active

bool Framebuffer::FrameGuard::m_Active
private

Definition at line 55 of file pedigree_fb.h.

◆ m_Masked

bool Framebuffer::FrameGuard::m_Masked
private

Definition at line 54 of file pedigree_fb.h.

◆ m_PreviousMask

sigset_t Framebuffer::FrameGuard::m_PreviousMask
private

Definition at line 53 of file pedigree_fb.h.


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