pres_ent.h File Reference

#include <ptlib.h>
#include <opal/buildopts.h>
#include <ptlib/pfactory.h>
#include <ptlib/safecoll.h>
#include <ptclib/url.h>
#include <ptclib/guid.h>
#include <list>
#include <queue>

Go to the source code of this file.

Data Structures

class  OpalPresenceInfo
class  OpalPresentity
class  OpalPresentity::Attributes
struct  OpalPresentity::AuthorisationRequest
struct  OpalPresentity::BuddyInfo
class  OpalPresentityWithCommandThread
class  OpalPresentityCommand
class  OpalSubscribeToPresenceCommand
class  OpalAuthorisationRequestCommand
class  OpalSetLocalPresenceCommand

Indications (callbacks)

#define PDECLARE_AuthorisationRequestNotifier(cls, fn)   PDECLARE_NOTIFIER2(OpalPresentity, cls, fn, const OpalPresentity::AuthorisationRequest &)
#define PCREATE_AuthorisationRequestNotifier(fn)   PCREATE_NOTIFIER2(fn, const OpalPresentity::AuthorisationRequest &)
#define PDECLARE_PresenceChangeNotifier(cls, fn)   PDECLARE_NOTIFIER2(OpalPresentity, cls, fn, const OpalPresenceInfo &)
#define PCREATE_PresenceChangeNotifier(fn)   PCREATE_NOTIFIER2(fn, const OpalPresenceInfo &)

Defines

#define OPAL_DEFINE_COMMAND(command, entity, func)

Functions

ostream & operator<< (ostream &strm, OpalPresenceInfo::State state)


Define Documentation

#define OPAL_DEFINE_COMMAND ( command,
entity,
func   ) 

Value:

class entity##_##command : public command \
  { \
    public: virtual void Process(OpalPresentity & presentity) { dynamic_cast<entity &>(presentity).func(*this); } \
  }; \
  static PFactory<OpalPresentityCommand>::Worker<entity##_##command> \
  s_entity##_##command(PDefaultPFactoryKey(entity::Class())+typeid(command).name())
Macro to define the factory that creates a concrete command class.

#define PCREATE_AuthorisationRequestNotifier ( fn   )     PCREATE_NOTIFIER2(fn, const OpalPresentity::AuthorisationRequest &)

#define PCREATE_PresenceChangeNotifier ( fn   )     PCREATE_NOTIFIER2(fn, const OpalPresenceInfo &)

#define PDECLARE_AuthorisationRequestNotifier ( cls,
fn   )     PDECLARE_NOTIFIER2(OpalPresentity, cls, fn, const OpalPresentity::AuthorisationRequest &)

#define PDECLARE_PresenceChangeNotifier ( cls,
fn   )     PDECLARE_NOTIFIER2(OpalPresentity, cls, fn, const OpalPresenceInfo &)


Function Documentation

ostream& operator<< ( ostream &  strm,
OpalPresenceInfo::State  state 
)


Generated on Mon Feb 21 20:19:21 2011 for OPAL by  doxygen 1.4.7