Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berry::GuiTk::ControlActivatedAdapter< R > Struct Template Reference

#include <berryGuiTkIControlListener.h>

Inheritance diagram for berry::GuiTk::ControlActivatedAdapter< R >:
Collaboration diagram for berry::GuiTk::ControlActivatedAdapter< R >:

Public Types

typedef R Listener
 
typedef void(R::* Callback) (ControlEvent::Pointer)
 
- 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
 

Public Member Functions

 ControlActivatedAdapter (R *l, Callback c)
 
Events::Types GetEventTypes () const override
 
void ControlActivated (ControlEvent::Pointer e) override
 
- Public Member Functions inherited from berry::GuiTk::IControlListener
 berryObjectMacro (berry::GuiTk::IControlListener)
 
 ~IControlListener () override
 
virtual void ControlMoved (ControlEvent::Pointer)
 
virtual void ControlResized (ControlEvent::Pointer)
 
virtual void ControlDestroyed (ControlEvent::Pointer)
 
- 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

- 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

template<typename R>
struct berry::GuiTk::ControlActivatedAdapter< R >

Definition at line 167 of file berryGuiTkIControlListener.h.

Member Typedef Documentation

◆ Callback

template<typename R >
typedef void(R::* berry::GuiTk::ControlActivatedAdapter< R >::Callback) (ControlEvent::Pointer)

Definition at line 171 of file berryGuiTkIControlListener.h.

◆ Listener

template<typename R >
typedef R berry::GuiTk::ControlActivatedAdapter< R >::Listener

Definition at line 169 of file berryGuiTkIControlListener.h.

Constructor & Destructor Documentation

◆ ControlActivatedAdapter()

template<typename R >
berry::GuiTk::ControlActivatedAdapter< R >::ControlActivatedAdapter ( R *  l,
Callback  c 
)
inline

Definition at line 173 of file berryGuiTkIControlListener.h.

Member Function Documentation

◆ ControlActivated()

template<typename R >
void berry::GuiTk::ControlActivatedAdapter< R >::ControlActivated ( ControlEvent::Pointer  e)
inlineoverridevirtual

Reimplemented from berry::GuiTk::IControlListener.

Definition at line 185 of file berryGuiTkIControlListener.h.

◆ GetEventTypes()

template<typename R >
Events::Types berry::GuiTk::ControlActivatedAdapter< R >::GetEventTypes ( ) const
inlineoverridevirtual

Implements berry::GuiTk::IControlListener.

Definition at line 180 of file berryGuiTkIControlListener.h.


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