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

Defines

#define OPAL_DEFINE_COMMAND(command, entity, func)
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 &)

Functions

ostream & operator<< (ostream &strm, OpalPresenceInfo::State state)
 PFACTORY_LOAD (SIPLocal_Presentity)
 PFACTORY_LOAD (SIPXCAP_Presentity)
 PFACTORY_LOAD (SIPOMA_Presentity)

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 
)
PFACTORY_LOAD ( SIPOMA_Presentity   ) 
PFACTORY_LOAD ( SIPXCAP_Presentity   ) 
PFACTORY_LOAD ( SIPLocal_Presentity   ) 

Generated on 14 Jul 2011 for OPAL by  doxygen 1.6.1