libqutim 0.3.1.0
qutim_sdk_0_3::SingletonGenerator< T, I0, I1, I2, I3, I4, I5, I6, I7, I8, I9 > Class Template Reference

#include <objectgenerator.h>

Inheritance diagram for qutim_sdk_0_3::SingletonGenerator< T, I0, I1, I2, I3, I4, I5, I6, I7, I8, I9 >:

List of all members.

Public Member Functions

 SingletonGenerator ()

Protected Member Functions

virtual QObject * generateHelper () const

Protected Attributes

QWeakPointer< QObject > m_object

template<typename T, typename I0 = void, typename I1 = void, typename I2 = void, typename I3 = void, typename I4 = void, typename I5 = void, typename I6 = void, typename I7 = void, typename I8 = void, typename I9 = void>
class qutim_sdk_0_3::SingletonGenerator< T, I0, I1, I2, I3, I4, I5, I6, I7, I8, I9 >


Constructor & Destructor Documentation

template<typename T , typename I0 = void, typename I1 = void, typename I2 = void, typename I3 = void, typename I4 = void, typename I5 = void, typename I6 = void, typename I7 = void, typename I8 = void, typename I9 = void>
qutim_sdk_0_3::SingletonGenerator< T, I0, I1, I2, I3, I4, I5, I6, I7, I8, I9 >::SingletonGenerator ( ) [inline]

Constructor.


Member Function Documentation

template<typename T , typename I0 = void, typename I1 = void, typename I2 = void, typename I3 = void, typename I4 = void, typename I5 = void, typename I6 = void, typename I7 = void, typename I8 = void, typename I9 = void>
virtual QObject* qutim_sdk_0_3::SingletonGenerator< T, I0, I1, I2, I3, I4, I5, I6, I7, I8, I9 >::generateHelper ( ) const [inline, protected, virtual]

Generate object of type T.

Returns:
Generated object
Note:
There can be only one instance of object in the same time. So if it has already been created it will be returned pointer to already created object.

Reimplemented from qutim_sdk_0_3::GeneralGenerator< T, I0, I1, I2, I3, I4, I5, I6, I7, I8, I9 >.


Member Data Documentation

template<typename T , typename I0 = void, typename I1 = void, typename I2 = void, typename I3 = void, typename I4 = void, typename I5 = void, typename I6 = void, typename I7 = void, typename I8 = void, typename I9 = void>
QWeakPointer<QObject> qutim_sdk_0_3::SingletonGenerator< T, I0, I1, I2, I3, I4, I5, I6, I7, I8, I9 >::m_object [mutable, protected]

Pointer to instance of object.


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