Class CAlarmList:public CPtrList
{
public:
CAlarmList(){};
~CAlarmList(){};
void SetRedraw(BOOL bRedraw = TRUE )
{
m_bRedraw=bRedraw;
};
void DrawList(CAmvConn* pAmvConn);
viod DeleteAll();
protected:
BOOL m_bRedraw;
};
The CAlarmList class depends on CPtrList for most of its functionality. See the Microsoft Visual C++ documentation for more information on CPtrList methods.
CAlarmList adds methods for functions specific to the alarm viewer application:
Member |
Description |
CAlarmList |
Class constructor |
~CAlarmList |
Class destructor |
SetRedraw |
Control whether or not DrawList() actually draws |
DrawList |
Print the alarms in the list |
DeleteAll |
Take each alarm out of the list and delete it |
amvtest.h. |