LibreOffice Module canvas (master) 1
Public Member Functions | Private Attributes | List of all members
canvas::RenderModuleGuard Class Reference

Little RAII wrapper for guarding access to IRenderModule interface. More...

#include <irendermodule.hxx>

Public Member Functions

 RenderModuleGuard (std::shared_ptr< IRenderModule > xRenderModule)
 
 ~RenderModuleGuard ()
 
 RenderModuleGuard (const RenderModuleGuard &)=delete
 
RenderModuleGuardoperator= (const RenderModuleGuard &)=delete
 

Private Attributes

const std::shared_ptr< IRenderModulempRenderModule
 

Detailed Description

Little RAII wrapper for guarding access to IRenderModule interface.

Definition at line 113 of file irendermodule.hxx.

Constructor & Destructor Documentation

◆ RenderModuleGuard() [1/2]

canvas::RenderModuleGuard::RenderModuleGuard ( std::shared_ptr< IRenderModule xRenderModule)
inlineexplicit

Definition at line 116 of file irendermodule.hxx.

References mpRenderModule.

◆ ~RenderModuleGuard()

canvas::RenderModuleGuard::~RenderModuleGuard ( )
inline

Definition at line 122 of file irendermodule.hxx.

References mpRenderModule.

◆ RenderModuleGuard() [2/2]

canvas::RenderModuleGuard::RenderModuleGuard ( const RenderModuleGuard )
delete

Member Function Documentation

◆ operator=()

RenderModuleGuard & canvas::RenderModuleGuard::operator= ( const RenderModuleGuard )
delete

Member Data Documentation

◆ mpRenderModule

const std::shared_ptr<IRenderModule> canvas::RenderModuleGuard::mpRenderModule
private

Definition at line 130 of file irendermodule.hxx.

Referenced by RenderModuleGuard(), and ~RenderModuleGuard().


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