Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berry::ShellEvent Class Reference

#include <berryShellEvent.h>

Inheritance diagram for berry::ShellEvent:
Collaboration diagram for berry::ShellEvent:

Public Member Functions

 berryObjectMacro (ShellEvent)
 
 ShellEvent (SmartPointer< Shell > source)
 
SmartPointer< ShellGetSource ()
 
- 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
 

Public Attributes

bool doit
 

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

Instances of this class are sent as a result of operations being performed on shells.

See also
ShellListener

Definition at line 33 of file berryShellEvent.h.

Constructor & Destructor Documentation

◆ ShellEvent()

berry::ShellEvent::ShellEvent ( SmartPointer< Shell source)

Constructs a new instance of this class based on the information in the given untyped event.

Parameters
sourcethe untyped event containing the information

Member Function Documentation

◆ berryObjectMacro()

berry::ShellEvent::berryObjectMacro ( ShellEvent  )

◆ GetSource()

SmartPointer<Shell> berry::ShellEvent::GetSource ( )

Member Data Documentation

◆ doit

bool berry::ShellEvent::doit

A flag indicating whether the operation should be allowed. Setting this field to false will cancel the operation.

Definition at line 43 of file berryShellEvent.h.


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