Medical Imaging Interaction Toolkit  2024.06.00
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()

virtual berry::Display::~Display ( )
virtual

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()

static Display* berry::Display::GetDefault ( )
static

◆ InDisplayThread()

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

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

Returns

◆ 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
staticprotected

Definition at line 54 of file berryDisplay.h.


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