Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
berry::Display Class Referenceabstract

#include <berryDisplay.h>

Collaboration diagram for berry::Display:

Public Member Functions

virtual ~Display ()
virtual bool InDisplayThread ()=0
virtual void AsyncExec (Poco::Runnable *)=0
virtual void SyncExec (Poco::Runnable *)=0
virtual int RunEventLoop ()=0
virtual void ExitEventLoop (int code)=0

Static Public Member Functions

static DisplayGetDefault ()

Protected Member Functions

virtual void CreateDisplay ()=0

Static Protected Attributes

static Displayinstance

Detailed Description

Definition at line 23 of file berryDisplay.h.

Constructor & Destructor Documentation

◆ ~Display()

berry::Display::~Display ( )

Definition at line 21 of file berryDisplay.cpp.

Member Function Documentation

◆ AsyncExec()

virtual void berry::Display::AsyncExec ( Poco::Runnable *  )
pure virtual

◆ CreateDisplay()

virtual void berry::Display::CreateDisplay ( )
protectedpure virtual

This method must be called from within the UI thread and should create the Display instance and initialize variables holding implementation specific thread data.

◆ ExitEventLoop()

virtual void berry::Display::ExitEventLoop ( int  code)
pure virtual

◆ GetDefault()

Display * berry::Display::GetDefault ( )

Definition at line 26 of file berryDisplay.cpp.

References instance.

Referenced by berry::CommandContributionItem::IsVisible().

◆ InDisplayThread()

virtual bool berry::Display::InDisplayThread ( )
pure virtual

Returns true if the calling thread is the same thread who created this Display instance.


Referenced by berry::CommandContributionItem::IsVisible().

◆ RunEventLoop()

virtual int berry::Display::RunEventLoop ( )
pure virtual

◆ SyncExec()

virtual void berry::Display::SyncExec ( Poco::Runnable *  )
pure virtual

Member Data Documentation

◆ instance

Display * berry::Display::instance

Definition at line 54 of file berryDisplay.h.

Referenced by GetDefault().

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