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 (const std::shared_ptr< IRenderModule > &rRenderModule)
 
 ~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

canvas::RenderModuleGuard::RenderModuleGuard ( const std::shared_ptr< IRenderModule > &  rRenderModule)
inlineexplicit

Definition at line 116 of file irendermodule.hxx.

References mpRenderModule.

canvas::RenderModuleGuard::~RenderModuleGuard ( )
inline

Definition at line 122 of file irendermodule.hxx.

References mpRenderModule.

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

Member Function Documentation

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

Member Data Documentation

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: