00001 #ifndef mswEVAL_STATE_H 00002 #define mswEVAL_STATE_H 00003 /******************************************************************************* 00004 * E.S.O. - VLT project 00005 * 00006 * "@(#) $Id: mswEVAL_STATE.h,v 1.115 2003/11/12 14:33:35 vltsccm Exp $" 00007 * 00008 * who when what 00009 * -------- -------- ---------------------------------------------- 00010 * mverola 03/04/96 Changed ReadSubState into SubState 00011 * Changed stateVector into addrVector 00012 * tphan 12/10/95 Add method ReadSubState 00013 * awalland 10/08/95 added methods and private data members 00014 * gchiozzi 30/03/95 created 00015 */ 00016 00017 /************************************************************************ 00018 * 00019 *---------------------------------------------------------------------- 00020 */ 00021 00022 #ifndef __cplusplus 00023 #error This is a C++ include file and cannot be used from plain C 00024 #endif 00025 00026 #include "eccsErr.h" 00027 #include "mswMOD_LIST_MANAGER.h" 00028 00029 class mswEVAL_STATE : public evhDB_TASK 00030 { 00031 public: 00032 mswEVAL_STATE(mswMOD_LIST_MANAGER &listManager); 00033 mswEVAL_STATE(const dbSYMADDRESS dbPoint, 00034 mswMOD_LIST_MANAGER &listManager); 00035 ~mswEVAL_STATE(); 00036 00037 ccsCOMPL_STAT Disable(); 00038 ccsCOMPL_STAT Enable(); 00039 vltLOGICAL Enabled(); 00040 00041 ccsCOMPL_STAT Evaluate(); 00042 00043 ccsCOMPL_STAT SubState(vltINT32 substate); 00044 vltINT32 SubState(); 00045 00046 protected: 00047 evhCB_COMPL_STAT RequiredListChangedCB(evtEVENT_MSG &msg, 00048 void *udata); 00049 evhCB_COMPL_STAT StateChangedCB(evtEVENT_MSG &msg, void *udata); 00050 00051 private: 00052 ccsCOMPL_STAT ConstructorInit(); 00053 00054 evtEVENT evtList; 00055 evtEVENT evtUnit; 00056 mswMOD_LIST_MANAGER &modListManager; 00057 vltLOGICAL enabled; 00058 00059 }; 00060 00061 #endif