/************************************************************************* 【文件名】 MeetingPool.h 【功能模块和目的】 会议池类头文件 【开发者及日期】 郑石诺 2015/05/17 【版本】 V1.0.0 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司 【更改记录】 *************************************************************************/ #pragma once class CDevDsp; class CDspChannel; class CMeeting; class COneLeg; /************************************************************************* 【类名】 CMeetingPool 【功能】 会议管理接口 【接口说明】 会议池类 【开发者及日期】 郑石诺 2015/05/17 【版本】 V1.0.0 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司 【更改记录】 *************************************************************************/ class CMeetingPool { public: CMeetingPool(CDevDsp* pParent); ~CMeetingPool(void); int handle(void) const { return m_Handle; } CDspChannel* allocDspChan(void); bool open(void); void close(void); bool createMeeting(MeetingInfo& MeetInfo); void deleteMeeting(int MeetingId); bool accept(int MeetingId, COneLeg* pAttendee, bool IsOneWay); bool remove(int MeetingId, COneLeg* pAttendee); bool record(int MeetingId, COneLeg* pAttendee, RecordContent* pContent, bool IsStop); bool mute(int MeetingId, COneLeg* pAttendee, bool IsOff); private: void __release(void); CMeeting* __getMeeting(int MeetingId); private: CDevDsp* m_pParent; int m_Handle; CMap m_MeetingMap; };