123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495 |
- /* ----------------------------------------------------------------------------
- * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.9
- *
- * This file is not intended to be easily readable and contains a number of
- * coding conventions designed to improve portability and efficiency. Do not make
- * changes to this file unless you know what you are doing--modify the SWIG
- * interface file instead.
- * ----------------------------------------------------------------------------- */
- #ifndef SWIG_tinyWRAP_WRAP_H_
- #define SWIG_tinyWRAP_WRAP_H_
- #include <map>
- #include <string>
- class SwigDirector_DDebugCallback : public DDebugCallback, public Swig::Director {
- public:
- SwigDirector_DDebugCallback(PyObject *self);
- virtual ~SwigDirector_DDebugCallback();
- virtual int OnDebugInfo(char const *message);
- virtual int OnDebugWarn(char const *message);
- virtual int OnDebugError(char const *message);
- virtual int OnDebugFatal(char const *message);
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class DDebugCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[4];
- #endif
- };
- class SwigDirector_T140Callback : public T140Callback, public Swig::Director {
- public:
- SwigDirector_T140Callback(PyObject *self);
- virtual ~SwigDirector_T140Callback();
- virtual int ondata(T140CallbackData const *pData);
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class T140Callback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[1];
- #endif
- };
- class SwigDirector_ProxyPluginMgrCallback : public ProxyPluginMgrCallback, public Swig::Director {
- public:
- SwigDirector_ProxyPluginMgrCallback(PyObject *self);
- virtual ~SwigDirector_ProxyPluginMgrCallback();
- virtual int OnPluginCreated(uint64_t id, enum twrap_proxy_plugin_type_e type);
- virtual int OnPluginDestroyed(uint64_t id, enum twrap_proxy_plugin_type_e type);
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class ProxyPluginMgrCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[2];
- #endif
- };
- class SwigDirector_ProxyAudioConsumerCallback : public ProxyAudioConsumerCallback, public Swig::Director {
- public:
- SwigDirector_ProxyAudioConsumerCallback(PyObject *self);
- virtual ~SwigDirector_ProxyAudioConsumerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class ProxyAudioConsumerCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[4];
- #endif
- };
- class SwigDirector_ProxyVideoConsumerCallback : public ProxyVideoConsumerCallback, public Swig::Director {
- public:
- SwigDirector_ProxyVideoConsumerCallback(PyObject *self);
- virtual ~SwigDirector_ProxyVideoConsumerCallback();
- virtual int prepare(int nWidth, int nHeight, int nFps);
- virtual int consume(ProxyVideoFrame const *frame);
- virtual int bufferCopied(unsigned int nCopiedSize, unsigned int nAvailableSize);
- virtual int start();
- virtual int pause();
- virtual int stop();
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class ProxyVideoConsumerCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[6];
- #endif
- };
- class SwigDirector_ProxyAudioProducerCallback : public ProxyAudioProducerCallback, public Swig::Director {
- public:
- SwigDirector_ProxyAudioProducerCallback(PyObject *self);
- virtual ~SwigDirector_ProxyAudioProducerCallback();
- virtual int prepare(int ptime, int rate, int channels);
- virtual int start();
- virtual int pause();
- virtual int stop();
- virtual int fillPushBuffer();
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class ProxyAudioProducerCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[5];
- #endif
- };
- class SwigDirector_ProxyVideoProducerCallback : public ProxyVideoProducerCallback, public Swig::Director {
- public:
- SwigDirector_ProxyVideoProducerCallback(PyObject *self);
- virtual ~SwigDirector_ProxyVideoProducerCallback();
- virtual int prepare(int width, int height, int fps);
- virtual int start();
- virtual int pause();
- virtual int stop();
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class ProxyVideoProducerCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[4];
- #endif
- };
- class SwigDirector_SipCallback : public SipCallback, public Swig::Director {
- public:
- SwigDirector_SipCallback(PyObject *self);
- virtual ~SwigDirector_SipCallback();
- virtual int OnDialogEvent(DialogEvent const *e);
- virtual int OnStackEvent(StackEvent const *e);
- virtual int OnInviteEvent(InviteEvent const *e);
- virtual int OnMessagingEvent(MessagingEvent const *e);
- virtual int OnInfoEvent(InfoEvent const *e);
- virtual int OnOptionsEvent(OptionsEvent const *e);
- virtual int OnPublicationEvent(PublicationEvent const *e);
- virtual int OnRegistrationEvent(RegistrationEvent const *e);
- virtual int OnSubscriptionEvent(SubscriptionEvent const *e);
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class SipCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[9];
- #endif
- };
- class SwigDirector_XcapCallback : public XcapCallback, public Swig::Director {
- public:
- SwigDirector_XcapCallback(PyObject *self);
- virtual ~SwigDirector_XcapCallback();
- virtual int onEvent(XcapEvent const *e) const;
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class XcapCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[1];
- #endif
- };
- class SwigDirector_MsrpCallback : public MsrpCallback, public Swig::Director {
- public:
- SwigDirector_MsrpCallback(PyObject *self);
- virtual ~SwigDirector_MsrpCallback();
- virtual int OnEvent(MsrpEvent const *e);
- /* Internal Director utilities */
- public:
- bool swig_get_inner(const char* swig_protected_method_name) const {
- std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
- return (iv != swig_inner.end() ? iv->second : false);
- }
- void swig_set_inner(const char* swig_protected_method_name, bool val) const
- { swig_inner[swig_protected_method_name] = val;}
- private:
- mutable std::map<std::string, bool> swig_inner;
- #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
- /* VTable implementation */
- PyObject *swig_get_method(size_t method_index, const char *method_name) const {
- PyObject *method = vtable[method_index];
- if (!method) {
- swig::SwigVar_PyObject name = SWIG_Python_str_FromChar(method_name);
- method = PyObject_GetAttr(swig_get_self(), name);
- if (!method) {
- std::string msg = "Method in class MsrpCallback doesn't exist, undefined ";
- msg += method_name;
- Swig::DirectorMethodException::raise(msg.c_str());
- }
- vtable[method_index] = method;
- }
- return method;
- }
- private:
- mutable swig::SwigVar_PyObject vtable[1];
- #endif
- };
- #endif
|