| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /*************************************************************************
- 【文件名】 QueueMgr.h
- 【功能模块和目的】 来电队列管理类头文件
- 【开发者及日期】 郑石诺 2015/01/21
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- #pragma once
- class CQueue;
- class CAgentOffice;
- class CAgent;
- /*************************************************************************
- 【类名】 CQueueMgr
- 【功能】
- 【接口说明】 来电队列管理类
- 【开发者及日期】 郑石诺 2015/01/21
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- class CQueueMgr
- {
- public:
- CQueueMgr(void);
- ~CQueueMgr(void);
-
- UINT callCount(void); // 读取等待排队的来电数量
- UINT callCount(UINT QueueNo); // 读取等待排队的来电数量
- void clear(void);
- bool getCallInfo(Call2Show& Info);
- // 座席相关
- void addAgent(CAgent* pAgent);
- void delAgent(CAgent* pAgent);
- void onAgentFree(CAgent* pAgent);
- // 排队管理操作
- void onQueueAsking(CPduEntity* pCmd); // IVR请求座席命令响应
- void onQueueCancel(CPduEntity* pCmd); // IVR取消排队命令响应
- void onQueueContinue(CPduEntity* pCmd); // IVR继续请求排队命令响应
- void onQueuePause(CPduEntity* pCmd); // IVR暂停排队命令响应
- private:
- CQueue* __getQueue(int QueueNo, bool NewWhenNull = false);
- void __freeQueues(void);
- private:
- CArray<CQueue*, CQueue*> m_QueueArray;
- };
|