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 ()
- Public Member Functions inherited from qutim_sdk_0_3::GeneralGenerator< T, I0, I1, I2, I3, I4, I5, I6, I7, I8, I9 >
 GeneralGenerator ()
- Public Member Functions inherited from qutim_sdk_0_3::ObjectGenerator
virtual ~ObjectGenerator ()
ObjectGeneratoraddProperty (const QByteArray &name, const QVariant &value)
bool extends (const QMetaObject *super) const
bool extends (const char *id) const
template<typename T >
bool extends () const
QObject * generate () const
template<typename T >
T * generate () const
bool hasInterface (const char *id) const
Ptr pointerHolder ()

Protected Member Functions

virtual QObject * generateHelper () const
- Protected Member Functions inherited from qutim_sdk_0_3::GeneralGenerator< T, I0, I1, I2, I3, I4, I5, I6, I7, I8, I9 >
virtual QList< QByteArray > interfaces () const
virtual const QMetaObject * metaObject () const
- Protected Member Functions inherited from qutim_sdk_0_3::ObjectGenerator
 ObjectGenerator ()
virtual void virtual_hook (int id, void *data)

Protected Attributes

QWeakPointer< QObject > m_object

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
inlineprotectedvirtual

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
mutableprotected

Pointer to instance of object.


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

Generated by Doxygen