You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
485 B
C++

#pragma once
#include "GlobalDefine.h"
class CDoubleVal
{
public:
CDoubleVal(void)
{
m_pVal = NULL;//变量的地址
m_OldVal = 0;//旧的值
};
public:
double *m_pVal;//变量的地址
double m_OldVal;//旧的值
};
//用来管理参数是否发生变化
class CValVectorMgr
{
public:
CValVectorMgr(void);
~CValVectorMgr(void);
void AddDoubleVal(double *pVal);
bool HasValChange();
private:
vector<CDoubleVal> m_DoubleValVec;
};