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

📄 warlogthread.h

📁 ftpserver very good sample
💻 H
字号:
/** */#ifndef WAR_LOG_THREAD_H#define WAR_LOG_THREAD_H/* SYSTEM INCLUDES *//* PROJECT INCLUDES */#ifndef WAR_THREAD_H#   include "WarThread.h"#endif#ifndef WAR_WARLOG_EVENT_H#   include "WarLogEvent.h"#endif/* LOCAL INCLUDES *//* FORWARD REFERENCES */class WarLogEngine;#ifdef __cplusplusextern "C" {#endif/****************** BEGIN OLD STYLE C spesific ********//****************** END OLD STYLE C spesific **********/#ifdef __cplusplus }#endif/****************** BEGIN C++ spesific ****************/#ifdef __cplusplusclass WarLogThread :public WarThread{public:    typedef std::list<war_logevent_ptr_t> log_list_t;    // LIFECYCLE        /**    * Default constructor.    */    WarLogThread();        // OPERATORS        /**    * Assignment operator.    *    * @param from THe value to assign to this object.    *    * @return A reference to this object.    */    WarLogThread& operator=(WarLogThread& from);        // OPERATIONS    void PushEvent(war_logevent_ptr_t& logEventPtr);    // CALLBACK    // ACCESS    // INQUIRY    protected:    ~WarLogThread();    static void OnShutdown(war_cptr_t parg);private:    virtual void Run();    WarThreadEvent mEvent;    log_list_t mLogEvents;};/* INLINE METHODS *//* EXTERNAL REFERENCES */#endif /* __cplusplus *//****************** END C++ spesific ******************/#endif  /* WAR_LOG_THREAD_H_ */

⌨️ 快捷键说明

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