Public Member Functions | Private Attributes

Event Class Reference

#include <Event.h>

Inheritance diagram for Event:
EventPacket Packet AccountAddBuddyEvent AccountAddBuddyRequestEvent AccountBuddyAddDocumentEvent AccountBuddyOfflineEvent AccountBuddyOnlineEvent AccountDeleteBuddyEvent AccountNewEvent AccountOfflineEvent AccountOnlineEvent CloseSessionEvent DisjoinSessionEvent GetSessionsEvent GetSessionsResponseEvent JoinSessionEvent JoinSessionRequestResponseEvent StartSessionEvent

List of all members.

Public Member Functions

 Event ()
virtual ~Event ()
const std::vector< BuddyPtr > & getRecipients () const
void setRecipients (std::vector< BuddyPtr > &vRecipients)
void addRecipient (BuddyPtr pBuddy)
void setBroadcast (bool bBroadcast)
bool isBroadcast () const

Private Attributes

std::vector< BuddyPtrm_vRecipients
bool m_bBroadcast

Constructor & Destructor Documentation

Event::Event (  )  [inline]
virtual Event::~Event (  )  [inline, virtual]

Member Function Documentation

void Event::addRecipient ( BuddyPtr  pBuddy  )  [inline]

References m_vRecipients, and UT_return_if_fail.

const std::vector<BuddyPtr>& Event::getRecipients (  )  const [inline]

References m_vRecipients.

bool Event::isBroadcast (  )  const [inline]

References m_bBroadcast.

void Event::setBroadcast ( bool  bBroadcast  )  [inline]

References m_bBroadcast.

void Event::setRecipients ( std::vector< BuddyPtr > &  vRecipients  )  [inline]

References m_vRecipients.

Member Data Documentation

bool Event::m_bBroadcast [private]

Referenced by isBroadcast(), and setBroadcast().

std::vector<BuddyPtr> Event::m_vRecipients [private]

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