#pragma once #include class AFX_EXT_CLASS CRcpLightInfo { public: CRcpLightInfo(void); virtual ~CRcpLightInfo(void); public: void Reset(); void SetInfo(const CRcpLightInfo& rhs); void GetInfo(CRcpLightInfo& rhs); int GetLightLevel() const { return m_nLightLevel; } int GetMinThresLevel() const { return m_nMinThresLevel; } int GetMaxThresLevel() const { return m_nMaxThresLevel; } int GetAutoLightStep() const { return m_nAutoLightStep; } public: int m_nLightLevel; int m_nMinThresLevel; int m_nMaxThresLevel; int m_nAutoLightStep; }; typedef std::vector VectorRcpLightInfo; typedef std::vector::iterator VectorRcpLightInfoIt;