Exemplo n.º 1
0
        protected override void derivedReset(DLink pLink)
        {
            Debug.Assert(pLink != null);
            TimeEvent pTimeEvent = (TimeEvent)pLink;

            pTimeEvent.deepClear();
        }
Exemplo n.º 2
0
        public static void Reset()
        {
            // ensure call Create() first
            TimerMan pMan = TimerMan.GetInstance();

            Debug.Assert(pMan != null);

            TimeEvent pTimeEvent = (TimeEvent)pMan.pActive;

            while (pTimeEvent != null)
            {
                pTimeEvent.deepClear();
                pTimeEvent = (TimeEvent)pTimeEvent.pNext;
            }

            pMan.baseSetActiveHead(null);
        }