Medical Imaging Interaction Toolkit  2023.04.99-980ed1b6
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 ( )

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

◆ InDisplayThread()

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

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


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

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