中航光电的中间件仓库

StrategyAD.h 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*************************************************************************
  2. 【文件名】 StrategyAD.h
  3. 【功能模块和目的】 座席排队策略类基类头文件
  4. 【开发者及日期】 郑石诺 2015/01/21
  5. 【版本】 V1.0.0
  6. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  7. 【更改记录】
  8. *************************************************************************/
  9. #pragma once
  10. class CAgent;
  11. class CAgentGroup;
  12. /*************************************************************************
  13. 【类名】 CStrategyAD
  14. 【功能】
  15. 【接口说明】 座席排队策略类基类
  16. 【开发者及日期】 郑石诺 2015/01/21
  17. 【版本】 V1.0.0
  18. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  19. 【更改记录】
  20. *************************************************************************/
  21. class CStrategyAD
  22. {
  23. public:
  24. CStrategyAD(void);
  25. virtual ~CStrategyAD(void) = 0 {}
  26. // 请求座席
  27. QUEUE_AGENT_RESULT distributeAgent(CAgentGroup& AgentGroup, const CString& InfoEx, CAgent*& pAgent);
  28. protected:
  29. virtual void _setStrategyInfo(const CString& Info) {} // 设定座席排队相关信息
  30. virtual CAgent* _locateAgent(CAgentGroup& AgentGroup) = 0; // 得到指定排队策略下可用座席
  31. };