#include <QAvatarManager.h>
Collaboration diagram for QAvatarManager:

Definition at line 56 of file QAvatarManager.h.
Public Member Functions | |
| QAvatarManager (QAvatarFactory *) | |
| Parameterized constructor requires a factory. | |
| virtual | ~QAvatarManager () |
| Destructor. | |
| void | checkForTimeouts () |
| Checks for any avatars which have timed out. | |
| virtual bool | connect (const char *, const unsigned short &, const unsigned short &) |
| Connects to the avatar server. | |
| QAvatar * | getSelfAvatar () |
| Returns a reference to the manager's own avatar. | |
| void | attach (QAvatarListener *) |
| Attach a new listener object. | |
| void | detach (QAvatarListener *) |
| Detach a listener object. | |
| virtual void | process () |
| Process any queued network events. | |
| virtual bool | sendAux () |
| Send own avatar's aux data. | |
| virtual bool | sendBye () |
| Send goodbye message. | |
| virtual bool | sendHello () |
| Send own avatar's hello data. | |
| virtual bool | sendTracker () |
| Send own avatar's tracker data. | |
| void | setTrackerUpdateDelay (const double &) |
| Set the delay for sending tracker messages. | |
Protected Member Functions | |
| virtual void | handleHailingData (char *, const size_t &) |
| Handle incoming hailing data. | |
| virtual void | handleTrackerData (char *, const size_t &) |
| Handle incoming tracker data. | |
Listener Notifications | |
| void | notifyArrive (QAvatar *) |
| Notify listeners that an avatar has arrived. | |
| void | notifyAux (QAvatar *) |
| Notify listeners that an avatar has new aux data. | |
| void | notifyBye (QAvatar *) |
| Notify listeners that an avatar has left. | |
| void | notifyHello (QAvatar *) |
| Notify listeners that an avatar has new hello data. | |
| void | notifyTracker (QAvatar *) |
| Notify listeners that an avatar has new tracker data. | |
Protected Attributes | |
|
QUANTAmisc_hashDict< QAvatar *, long > * | m_avatarDB |
| Hashed dictionary of avatars and their ids. | |
| QAvatar * | m_selfAvatar |
| The avatar representing the manager. | |
| QAvatarFactory * | m_avatarFactory |
| Pointer to the factory instance used to create new avatars. | |
| QUANTAnet_tcpReflectorClient_c * | m_hailingTCP |
| TCP channel for hailing (hello and aux) data. | |
| QUANTAnet_udp_c * | m_trackerUDP |
| UDP channel for tracker data. | |
| bool | m_noNetworking |
| Flag indicates whether networking is enabled or not. | |
1.3.4