| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- /*************************************************************************
- 【文件名】 Meeting.h
- 【功能模块和目的】 会议类头文件
- 【开发者及日期】 郑石诺 2015/05/17
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- #pragma once
- class CMeetingPool;
- class CDspChannel;
- class COneLeg;
- /*************************************************************************
- 【类名】 CMeeting
- 【功能】
- 【接口说明】 会议类
- 【开发者及日期】 郑石诺 2015/05/17
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- class CMeeting
- {
- public:
- CMeeting(CMeetingPool* pParent, int Id);
- ~CMeeting(void);
- int id(void) const { return m_Id; }
- int attendeeCount(void) const { return m_AttendeeMap.GetCount(); }
- bool accept(COneLeg* pAttendee, bool IsOneWay);
- bool remove(COneLeg* pAttendee);
- bool record(COneLeg* pAttendee, RecordContent* pContent, bool IsStop);
- bool mute(COneLeg* pAttendee, bool IsOff);
- private:
- CDspChannel* __findAttendee(COneLeg* pAttendee, bool IsRemove);
- private:
- CMeetingPool* m_pParent;
- int m_Id;
- CMap<LONG, LONG, CDspChannel*, CDspChannel*> m_AttendeeMap;
- };
|