/*************************************************************************** SMS Raid Event Data Manager Class ----------------------------------------- begin : 2010/05/24 copyright : (C) 2005 SolutionBox Inc. author : Service 1 Team email : svc1@solbox.com version : 1.0 CopyRight(C) 2005 SolutionBox Inc. All Rights reserved. Redistribution and use in source and binary forms, with or with out modification, are not permitted in outside of SolutionBox Inc. ***************************************************************************/ #ifndef __EVENT_DATA_MANAGER__ #define __EVENT_DATA_MANAGER__ #include #include #include #include "Logger.h" #include "EventData.h" #include using namespace std; /// @brief CEventDataManager /// EventDataManager ´Â Areca library·ÎºÎÅÍ ¹Þ¾Æ¿À´Â raid event Á¤º¸¸¦ ÀúÀåÇÑ´Ù. class CEventDataManager { public: /// @brief »ý¼ºÀÚ CEventDataManager(); /// @brief ¼Ò¸êÀÚ ~CEventDataManager(); //TODO: bool Init(); bool SetCurrentData(list& listRet); bool GetSmsEvent(list& listRet); int GetLatestData( CEventData& resData ); bool GetAllData(list& listRet); private: // TODO: list m_Current; list m_Old; CEventData m_SentOld; pthread_mutex_t m_mutex; }; #endif // __EVENT_DATA_MANAGER__