LibreOffice Module sdext (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sdext::presenter::CachablePresenterView Class Reference

Base class for presenter views that allows the view factory to store them in a cache and reuse deactivated views. More...

#include <PresenterViewFactory.hxx>

Inheritance diagram for sdext::presenter::CachablePresenterView:
[legend]

Public Member Functions

virtual void ActivatePresenterView ()
 
virtual void DeactivatePresenterView ()
 Called when the view is put into a cache. More...
 
virtual void ReleaseView ()
 Called before the view is disposed. More...
 

Protected Member Functions

 CachablePresenterView ()
 
 ~CachablePresenterView ()
 

Protected Attributes

bool mbIsPresenterViewActive
 

Detailed Description

Base class for presenter views that allows the view factory to store them in a cache and reuse deactivated views.

Definition at line 42 of file PresenterViewFactory.hxx.

Constructor & Destructor Documentation

sdext::presenter::CachablePresenterView::CachablePresenterView ( )
protected

Definition at line 498 of file PresenterViewFactory.cxx.

sdext::presenter::CachablePresenterView::~CachablePresenterView ( )
inlineprotected

Definition at line 63 of file PresenterViewFactory.hxx.

Member Function Documentation

void sdext::presenter::CachablePresenterView::ActivatePresenterView ( )
virtual
void sdext::presenter::CachablePresenterView::DeactivatePresenterView ( )
virtual

Called when the view is put into a cache.

The view must not paint itself while being deactivated.

Reimplemented in sdext::presenter::PresenterSlideShowView.

Definition at line 508 of file PresenterViewFactory.cxx.

References mbIsPresenterViewActive.

Referenced by sdext::presenter::PresenterViewFactory::releaseResource().

void sdext::presenter::CachablePresenterView::ReleaseView ( )
virtual

Called before the view is disposed.

This gives the view the opportunity to trigger actions that may lead to (synchronous) callbacks that do not result in DisposedExceptions.

Reimplemented in sdext::presenter::PresenterSlideShowView.

Definition at line 513 of file PresenterViewFactory.cxx.

Referenced by sdext::presenter::PresenterViewFactory::releaseResource().

Member Data Documentation

bool sdext::presenter::CachablePresenterView::mbIsPresenterViewActive
protected

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