00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #if !defined(oagTimerTermObserver_P)
00015 #define oagTimerTermObserver_P
00016
00017 #include "oaDesignDB.h"
00018
00019 namespace oagTimer {
00020
00027 class TermObserver : public oa::oaObserver<oa::oaOccTerm>
00028 {
00029 public:
00035 TermObserver(oa::oaUInt4 priority,
00036 oa::oaBoolean enabled = true);
00037
00042 void onPostCreate(oa::oaOccTerm *instTerm);
00043
00049 void onPreModify(oa::oaOccTerm *term,
00050 oa::oaTermModTypeEnum modType);
00051
00057 void onPostModify(oa::oaOccTerm *term,
00058 oa::oaTermModTypeEnum modType);
00059
00064 void onPreDestroy(oa::oaOccTerm *term);
00065
00066 private:
00067 void invalidate(oa::oaOccTerm *term);
00068 };
00069
00070 }
00071
00072 #endif