Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berrySelectionChangedEvent.h>
Protected Attributes | |
ISelection::ConstPointer | selection |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Additional Inherited Members | |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
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 |
Event object describing a selection change. The source of these events is a selection provider.
Definition at line 36 of file berrySelectionChangedEvent.h.
berry::SelectionChangedEvent::SelectionChangedEvent | ( | SmartPointer< ISelectionProvider > | source, |
ISelection::ConstPointer | selection | ||
) |
Creates a new event for the given source and selection.
source | the selection provider |
selection | the selection |
Definition at line 24 of file berrySelectionChangedEvent.cpp.
References berry::SmartPointer< TObjectType >::IsNotNull(), and selection.
berry::SelectionChangedEvent::berryObjectMacro | ( | SelectionChangedEvent | ) |
ISelection::ConstPointer berry::SelectionChangedEvent::GetSelection | ( | ) | const |
Returns the selection.
Definition at line 39 of file berrySelectionChangedEvent.cpp.
References selection.
ISelectionProvider::Pointer berry::SelectionChangedEvent::GetSelectionProvider | ( | ) | const |
Returns the selection provider that is the source of this event.
Definition at line 44 of file berrySelectionChangedEvent.cpp.
References GetSource().
ISelectionProvider::Pointer berry::SelectionChangedEvent::GetSource | ( | ) | const |
Definition at line 34 of file berrySelectionChangedEvent.cpp.
Referenced by GetSelectionProvider().
|
protected |
The selection.
Definition at line 73 of file berrySelectionChangedEvent.h.
Referenced by GetSelection(), and SelectionChangedEvent().