/* TODO : REMOVE HERE #ifndef _BROADCAST_PACKET_H #define _BROADCAST_PACKET_H #include namespace BroadcastInfo { // Àü¹æ ÂüÁ¶ struct SObject; class CObjectInfo; struct IProcessBroadcastInfo; // »ý¼º ¹× °ü¸®, °Ë»ö, IterationµîµîÀ» ¼öÇàÇÒ ¼ö ÀÖÀ½. class CObjectInfoMgr { public: typedef std::vector ObjectArray; typedef ObjectArray::iterator ObjectIterator; CObjectInfoMgr() { } virtual ~CObjectInfoMgr(); bool Update(const char* szBuffer_In, unsigned long dwBufferSize, bool bRemove = true); void Process(IProcessBroadcastInfo& processBroadcastInfo); CObjectInfo* GetObjectInfo(unsigned long dwCID); unsigned long GetObjectNum() { return static_cast(m_ObjectArray.size()); } CObjectInfo* CreateOrUpdate(const SObject& object, unsigned long dwCurrentTime); void Remove(unsigned long dwCID); ObjectIterator begin() { return m_ObjectArray.begin(); } ObjectIterator end() { return m_ObjectArray.end(); } void clear(); private: void Eliminate(unsigned long dwExceptTime); CObjectInfo* Create(const SObject& object); ObjectArray m_ObjectArray; }; } #endif */