⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stafdiagservice.h

📁 Software Testing Automation Framework (STAF)的开发代码
💻 H
字号:
/*****************************************************************************//* Software Testing Automation Framework (STAF)                              *//* (C) Copyright IBM Corp. 2004                                              *//*                                                                           *//* This software is licensed under the Common Public License (CPL) V1.0.     *//*****************************************************************************/#ifndef STAF_DiagService#define STAF_DiagService#include "STAFService.h"// STAFDiagService - Handles requests dealing with Diagnosticstypedef enum STAFDiagSortBy_e{    kSTAFDiagSortByCount = 0,    kSTAFDiagSortByTrigger = 1,    kSTAFDiagSortBySource = 2} STAFDiagSortBy_t;class STAFDiagService : public STAFService{public:    STAFDiagService();    virtual STAFString info(unsigned int raw = 0) const;    virtual STAFServiceResult acceptRequest(                              const STAFServiceRequest &requestInfo);    virtual ~STAFDiagService();private:    // Don't allow copy construction or assignment    STAFDiagService(const STAFDiagService &);    STAFDiagService &operator=(const STAFDiagService &);    STAFServiceResult handleRecord(const STAFServiceRequest &requestInfo);    STAFServiceResult handleList(const STAFServiceRequest &requestInfo);    STAFServiceResult handleReset(const STAFServiceRequest &requestInfo);    STAFServiceResult handleEnable(const STAFServiceRequest &requestInfo);    STAFServiceResult handleDisable(const STAFServiceRequest &requestInfo);    STAFServiceResult handleHelp(const STAFServiceRequest &requestInfo);    STAFCommandParser fRecordParser;    STAFCommandParser fListParser;    STAFCommandParser fResetParser;    STAFCommandParser fEnableParser;    STAFCommandParser fDisableParser;    STAFMapClassDefinitionPtr fSettingsClass;    STAFMapClassDefinitionPtr fAllDiagInfoClass;    STAFMapClassDefinitionPtr fTriggerInfoClass;    STAFMapClassDefinitionPtr fTriggersInfoClass;    STAFMapClassDefinitionPtr fSourceInfoClass;    STAFMapClassDefinitionPtr fSourcesInfoClass;    STAFMapClassDefinitionPtr fComboCountClass;    STAFMapClassDefinitionPtr fTriggerCountClass;    STAFMapClassDefinitionPtr fSourceCountClass;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -