#include <QAvatarFactory.h>
Inheritance diagram for QAvatarFactory:
Definition at line 50 of file QAvatarFactory.h.
Public Member Functions | |
virtual | ~QAvatarFactory () |
Virtual destructor. | |
virtual QAvatar * | createAvatar (const long &avatarID)=0 |
Constructs a new avatar. |
|
Constructs a new avatar. This factory method creates a new QAvatar instance. Subclasses will instantiate a new instance and return a pointer to that new instance. The QAvatarManager calls this method when it needs to create a new avatar, and it is the manager that generates the identification number for the new avatar.
Referenced by QAvatarManager::handleHailingData(), and QAvatarManager::QAvatarManager(). |