Пример #1
0
 override protected void DoStop()
 {
     Clock.RemoveTimer(checkCondition);
     if (Decoratee.IsActive)
     {
         Decoratee.Stop();
     }
     else
     {
         Stopped(false);
     }
 }
Пример #2
0
 private void TimeoutReached()
 {
     if (!waitForChildButFailOnLimitReached)
     {
         Decoratee.Stop();
     }
     else
     {
         isLimitReached = true;
         Assert.IsTrue(Decoratee.IsActive);
     }
 }
Пример #3
0
 override protected void DoStop()
 {
     Clock.RemoveTimer(TimeoutReached);
     if (Decoratee.IsActive)
     {
         Decoratee.Stop();
     }
     else
     {
         Stopped(false);
     }
 }
Пример #4
0
        override protected void DoStop()
        {
            this.Clock.RemoveTimer(restartDecoratee);

            if (Decoratee.IsActive)
            {
                Decoratee.Stop();
            }
            else
            {
                Stopped(false);
            }
        }
Пример #5
0
 protected override void DoStop()
 {
     Clock.RemoveTimer(CheckQuorum);
     Clock.RemoveTimer(QuorumNotMet);
     RootNode.Blackboard.Get <Agent>("self").EnableCheckMailbox();
     if (Decoratee.IsActive)
     {
         Decoratee.Stop();
     }
     else
     {
         Stopped(false);
     }
 }
Пример #6
0
 override protected void DoStop()
 {
     if (Decoratee.IsActive)
     {
         isReady = true;
         Clock.RemoveTimer(TimeoutReached);
         Decoratee.Stop();
     }
     else
     {
         isReady = true;
         Clock.RemoveTimer(TimeoutReached);
         Stopped(false);
     }
 }
 override protected void DoStop()
 {
     Decoratee.Stop();
 }
Пример #8
0
 override protected void DoStop()
 {
     stopRequested = true;
     Decoratee.Stop();
 }