Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
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

List of all members.

Public Member Functions

const T * operator* () const
 use the *-oprator to get the wrapped component (const)
T *& operator* ()
 use the *-oprator to get the wrapped component (unconst)
T * operator-> ()
 this can be used for direct access to wrapped type
const T * operator-> () const
 this can be used for direct access to wrapped type
bool isNull () const
 returns whether wrapped pointer is null or not
void enable ()
 enables the wrapped GUI component
void disable ()
 disables the wrapped GUI component

Protected Member Functions

 GUIHandle ()
 as GUIHandle is just an interface, its base constructor is protected
 GUIHandle (T *t, GUIWidget *w)
 as GUIHandle is just an interface, its base constructor is protected

Private Attributes

T * m_poContent
 wrapped component

Detailed Description

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

Abstract base class for Handle classes.


Constructor & Destructor Documentation

template<class T>
icl::qt::GUIHandle< T >::GUIHandle ( ) [inline, protected]

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

template<class T>
icl::qt::GUIHandle< T >::GUIHandle ( T *  t,
GUIWidget w 
) [inline, protected]

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


Member Function Documentation

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

disables the wrapped GUI component

Reimplemented in icl::qt::DispHandle, and icl::qt::ButtonGroupHandle.

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

enables the wrapped GUI component

Reimplemented in icl::qt::ButtonGroupHandle, and icl::qt::DispHandle.

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

returns whether wrapped pointer is null or not

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

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

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

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

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

this can be used for direct access to wrapped type

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

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

wrapped component


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines