Medical Imaging Interaction Toolkit  2016.11.0
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 27 of file berryDisplay.h.

Constructor & Destructor Documentation

berry::Display::~Display ( )
virtual

Definition at line 25 of file berryDisplay.cpp.

Member Function Documentation

virtual void berry::Display::AsyncExec ( Poco::Runnable *  )
pure virtual
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.

virtual void berry::Display::ExitEventLoop ( int  code)
pure virtual
Display * berry::Display::GetDefault ( )
static

Definition at line 30 of file berryDisplay.cpp.

References instance.

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

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

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

Member Data Documentation

Display * berry::Display::instance
staticprotected

Definition at line 58 of file berryDisplay.h.

Referenced by GetDefault().


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