Module: sems Branch: master Commit: ae52813a286147c2c235a4740a6d9d84cb180d15 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=ae52813a286147c2c235a4740a6d9d84cb180d15
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Thu Nov 24 16:28:42 2011 +0100 more core call objects descendant of AmObject - AmAudio - AmSession - AmRtpStream - AmSipRequest/AmSipReply - AmSipDialog --- core/AmAudio.h | 1 + core/AmRtpStream.h | 3 ++- core/AmSession.h | 1 + core/AmSipDialog.h | 1 + core/AmSipMsg.h | 2 ++ 5 files changed, 7 insertions(+), 1 deletions(-) diff --git a/core/AmAudio.h b/core/AmAudio.h index e607c41..6aa0e17 100644 --- a/core/AmAudio.h +++ b/core/AmAudio.h @@ -212,6 +212,7 @@ public: */ class AmAudio + : public AmObject { private: int rec_time; // in samples diff --git a/core/AmRtpStream.h b/core/AmRtpStream.h index 22129a5..5a7279b 100644 --- a/core/AmRtpStream.h +++ b/core/AmRtpStream.h @@ -84,7 +84,8 @@ struct PacketMem { * * Rtp stream high level interface. */ -class AmRtpStream +class AmRtpStream + : public AmObject { protected: // get the next available port within configured range diff --git a/core/AmSession.h b/core/AmSession.h index d461755..d60fde9 100644 --- a/core/AmSession.h +++ b/core/AmSession.h @@ -69,6 +69,7 @@ class AmDtmfEvent; * The session is identified by Call-ID, From-Tag and To-Tag. */ class AmSession : + public AmObject, #ifndef SESSION_THREADPOOL public AmThread, #endif diff --git a/core/AmSipDialog.h b/core/AmSipDialog.h index 56d5b4d..d67e81f 100644 --- a/core/AmSipDialog.h +++ b/core/AmSipDialog.h @@ -72,6 +72,7 @@ typedef std::map<int,AmSipTransaction> TransMap; * \brief implements the dialog state machine */ class AmSipDialog + : public AmObject { public: enum Status { diff --git a/core/AmSipMsg.h b/core/AmSipMsg.h index 43207b8..5b9c9c2 100644 --- a/core/AmSipMsg.h +++ b/core/AmSipMsg.h @@ -1,5 +1,6 @@ #ifndef __AMSIPMSG_H__ #define __AMSIPMSG_H__ +#include "AmArg.h" #include <string> using std::string; @@ -8,6 +9,7 @@ using std::string; /* enforce common naming in Req&Rpl */ class _AmSipMsgInDlg + : public AmObject { public: string from; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
