eis/inc/zlib/MemWheel.h

45 lines
734 B
C++

/*********************************************************************
*
* ÎÄ ¼þ: MemWheel.h
*
* °æÈ¨ËùÓÐ: Shanghai Baosight Software Co., Ltd.
*
*********************************************************************/
#ifndef _H_MEM_WHEEL_H
#define _H_MEM_WHEEL_H
#include <zlib/WheelDef.h>
using namespace baosight;
class CMemWheel
{
public:
CMemWheel();
public:
~CMemWheel(void);
public:
//read wheel by memory zone
WHEEL_ZONE* operator[](int zone);
//read wheel by zone and trkid
WHEEL_UNIT* operator()(int zone, const string& trkid);
//store wheel info
int push(int zone,const WHEEL_UNIT* wheel);
void print(int zone,const string& trkid);
private:
WHEEL_ZONES* p_wheels;
};
#endif