Image Component Library (ICL)
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
icl::qt::GUIHandle< T > Class Template Reference

Abstract base class for Handle classes. More...

#include <GUIHandle.h>

Inheritance diagram for icl::qt::GUIHandle< T >:
icl::qt::GUIHandleBase

Public Member Functions

const T * operator * () const
 use the *-oprator to get the wrapped component (const) More...
 
T *& operator * ()
 use the *-oprator to get the wrapped component (unconst) More...
 
T * operator-> ()
 this can be used for direct access to wrapped type More...
 
const T * operator-> () const
 this can be used for direct access to wrapped type More...
 
bool isNull () const
 returns whether wrapped pointer is null or not More...
 
void enable ()
 enables the wrapped GUI component More...
 
void disable ()
 disables the wrapped GUI component More...
 
- Public Member Functions inherited from icl::qt::GUIHandleBase
virtual ~GUIHandleBase ()
 virtual destructor More...
 
GUIWidgetgetGUIWidget ()
 returns parent GUIWidget pointer More...
 
virtual void registerCallback (const GUI::Callback &cb, const std::string &events="all")
 registers a callback on this gui widget More...
 
virtual void registerCallback (const GUI::ComplexCallback &cb, const std::string &events="all")
 registers a complex callback on this gui component More...
 
virtual void removeCallbacks ()
 removes all callbacks from parent GUIWidget component More...
 
virtual void cb ()
 envokes all registered callbacks More...
 

Protected Member Functions

 GUIHandle ()
 as GUIHandle is just an interface, its base constructor is protected More...
 
 GUIHandle (T *t, GUIWidget *w)
 as GUIHandle is just an interface, its base constructor is protected More...
 
- Protected Member Functions inherited from icl::qt::GUIHandleBase
 GUIHandleBase (GUIWidget *w=0)
 create a new GUIHandleBase More...
 

Private Attributes

T * m_poContent
 wrapped component More...
 

Detailed Description

template<class T>
class icl::qt::GUIHandle< T >

Abstract base class for Handle classes.

Constructor & Destructor Documentation

◆ GUIHandle() [1/2]

template<class T>
icl::qt::GUIHandle< T >::GUIHandle ( )
inlineprotected

as GUIHandle is just an interface, its base constructor is protected

◆ GUIHandle() [2/2]

template<class T>
icl::qt::GUIHandle< T >::GUIHandle ( T *  t,
GUIWidget w 
)
inlineprotected

as GUIHandle is just an interface, its base constructor is protected

Member Function Documentation

◆ disable()

template<class T>
void icl::qt::GUIHandle< T >::disable ( )
inline

disables the wrapped GUI component

◆ enable()

template<class T>
void icl::qt::GUIHandle< T >::enable ( )
inline

enables the wrapped GUI component

◆ isNull()

template<class T>
bool icl::qt::GUIHandle< T >::isNull ( ) const
inline

returns whether wrapped pointer is null or not

◆ operator *() [1/2]

template<class T>
const T* icl::qt::GUIHandle< T >::operator * ( ) const
inline

use the *-oprator to get the wrapped component (const)

◆ operator *() [2/2]

template<class T>
T*& icl::qt::GUIHandle< T >::operator * ( )
inline

use the *-oprator to get the wrapped component (unconst)

◆ operator->() [1/2]

template<class T>
T* icl::qt::GUIHandle< T >::operator-> ( )
inline

this can be used for direct access to wrapped type

◆ operator->() [2/2]

template<class T>
const T* icl::qt::GUIHandle< T >::operator-> ( ) const
inline

this can be used for direct access to wrapped type

Member Data Documentation

◆ m_poContent

template<class T>
T* icl::qt::GUIHandle< T >::m_poContent
private

wrapped component


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