Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berry::IntroContentDetector Struct Referenceabstract

#include <berryIntroContentDetector.h>

Inheritance diagram for berry::IntroContentDetector:
Collaboration diagram for berry::IntroContentDetector:

Public Member Functions

 berryObjectMacro (berry::IntroContentDetector)
 
virtual bool IsNewContentAvailable () const =0
 
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
 
virtual Reflection::TypeInfo GetTypeInfo () const
 
virtual QList< Reflection::TypeInfoGetSuperclasses () const
 
virtual void Delete ()
 
QDebug Print (QDebug os, Indent Indent=0) const
 
virtual QString ToString () const
 
virtual uint HashCode () const
 
virtual bool operator< (const Object *) const
 
void Register () const
 
void UnRegister (bool del=true) const
 
int GetReferenceCount () const
 
void SetReferenceCount (int)
 
void AddDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
void RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
virtual bool operator== (const Object *) const
 

Additional Inherited Members

- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- Protected Member Functions inherited from berry::Object
 Object ()
 
virtual ~Object ()
 
virtual QDebug PrintSelf (QDebug os, Indent indent) const
 
virtual QDebug PrintHeader (QDebug os, Indent indent) const
 
virtual QDebug PrintTrailer (QDebug os, Indent indent) const
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

An intro content detector is used when starting the Workbench to determine if new intro content is available. Since calling this method is part of the Workbench start sequence, subclasses should be implemented with care as not to introduce noticeable delay at startup. If an intro content detector reports new available content, the view part showing the content will be opened again even if the user had closed it in a previous session. Because of this, the intro view part should draw the user's attention to the new content to avoid confusion about why the intro view part was opened again without the user requesting it.

Definition at line 36 of file berryIntroContentDetector.h.

Member Function Documentation

◆ berryObjectMacro()

berry::IntroContentDetector::berryObjectMacro ( berry::IntroContentDetector  )

◆ IsNewContentAvailable()

virtual bool berry::IntroContentDetector::IsNewContentAvailable ( ) const
pure virtual

Returns true if new intro content is available.

Returns
true if new intro content is available

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