#include <ptlib.h>#include <opal/buildopts.h>#include <ptlib/pfactory.h>#include <ptlib/safecoll.h>#include <ptclib/url.h>#include <ptclib/guid.h>#include <im/im.h>#include <list>#include <queue>Go to the source code of this file.
| #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())
| #define PCREATE_AuthorisationRequestNotifier | ( | fn | ) | PCREATE_NOTIFIER2(fn, const OpalPresentity::AuthorisationRequest &) |
| #define PCREATE_PresenceChangeNotifier | ( | fn | ) | PCREATE_NOTIFIER2(fn, const OpalPresenceInfo &) |
| #define PCREATE_ReceivedMessageNotifier | ( | fn | ) | PCREATE_NOTIFIER2(fn, const OpalIM &) |
| #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 &) |
| #define PDECLARE_ReceivedMessageNotifier | ( | cls, | |||
| fn | ) | PDECLARE_NOTIFIER2(OpalPresentity, cls, fn, const OpalIM &) |
| ostream& operator<< | ( | ostream & | strm, | |
| OpalPresenceInfo::State | state | |||
| ) |
1.4.7