tHandle testPullOutFilter::CreateView()
{
    // create the widget
    QWidget* pWidget = (QWidget*)m_pViewport->VP_GetWindow();
    m_pWidget = new DisplayWidget(pWidget);            

    // make the qt connections
    connect(m_pWidget->m_btSendValueNextSpotFree, SIGNAL(clicked()), this, SLOT(OnTransmitBoolValue()));
    connect(m_pWidget->m_btSendValueCrossLeft, SIGNAL(clicked()), this, SLOT(transmit1()));
    connect(m_pWidget->m_btSendValueCrossRight, SIGNAL(clicked()), this, SLOT(transmit2()));
    connect(m_pWidget->m_btSendValueParallelRight, SIGNAL(clicked()), this, SLOT(transmit3()));

    return (tHandle)m_pWidget;
}
void eval(void) 
{
  int tmp ;

  {
  {
  while (1) {
    while_5_continue: /* CIL Label */ ;
    {
    tmp = exists_runnable_thread();
    }
    if (tmp) {

    } else {
      goto while_5_break;
    }
    if (m_st == 0) {
      int tmp_ndt_1;
      tmp_ndt_1 = __VERIFIER_nondet_int();
      if (tmp_ndt_1) {
        {
        m_st = 1;
        master();
        }
      } else {

      }
    } else {

    }
    if (t1_st == 0) {
      int tmp_ndt_2;
      tmp_ndt_2 = __VERIFIER_nondet_int();
      if (tmp_ndt_2) {
        {
        t1_st = 1;
        transmit1();
        }
      } else {

      }
    } else {

    }
    if (t2_st == 0) {
      int tmp_ndt_3;
      tmp_ndt_3 = __VERIFIER_nondet_int();
      if (tmp_ndt_3) {
        {
        t2_st = 1;
        transmit2();
        }
      } else {

      }
    } else {

    }
    if (t3_st == 0) {
      int tmp_ndt_4;
      tmp_ndt_4 = __VERIFIER_nondet_int();
      if (tmp_ndt_4) {
        {
        t3_st = 1;
        transmit3();
        }
      } else {

      }
    } else {

    }
    if (t4_st == 0) {
      int tmp_ndt_5;
      tmp_ndt_5 = __VERIFIER_nondet_int();
      if (tmp_ndt_5) {
        {
        t4_st = 1;
        transmit4();
        }
      } else {

      }
    } else {

    }
  }
  while_5_break: /* CIL Label */ ;
  }

  return;
}
}
void eval(void) 
{
  int tmp ;

  {
  {
  while (1) {
    while_14_continue: /* CIL Label */ ;
    {
    tmp = exists_runnable_thread();
    }
    if (tmp) {

    } else {
      goto while_14_break;
    }
    if (m_st == 0) {
      int tmp_ndt_1;
      tmp_ndt_1 = __VERIFIER_nondet_int();
      if (tmp_ndt_1) {
        {
        m_st = 1;
        master();
        }
      } else {

      }
    } else {

    }
    if (t1_st == 0) {
      int tmp_ndt_2;
      tmp_ndt_2 = __VERIFIER_nondet_int();
      if (tmp_ndt_2) {
        {
        t1_st = 1;
        transmit1();
        }
      } else {

      }
    } else {

    }
    if (t2_st == 0) {
      int tmp_ndt_3;
      tmp_ndt_3 = __VERIFIER_nondet_int();
      if (tmp_ndt_3) {
        {
        t2_st = 1;
        transmit2();
        }
      } else {

      }
    } else {

    }
    if (t3_st == 0) {
      int tmp_ndt_4;
      tmp_ndt_4 = __VERIFIER_nondet_int();
      if (tmp_ndt_4) {
        {
        t3_st = 1;
        transmit3();
        }
      } else {

      }
    } else {

    }
    if (t4_st == 0) {
      int tmp_ndt_5;
      tmp_ndt_5 = __VERIFIER_nondet_int();
      if (tmp_ndt_5) {
        {
        t4_st = 1;
        transmit4();
        }
      } else {

      }
    } else {

    }
    if (t5_st == 0) {
      int tmp_ndt_6;
      tmp_ndt_6 = __VERIFIER_nondet_int();
      if (tmp_ndt_6) {
        {
        t5_st = 1;
        transmit5();
        }
      } else {

      }
    } else {

    }
    if (t6_st == 0) {
      int tmp_ndt_7;
      tmp_ndt_7 = __VERIFIER_nondet_int();
      if (tmp_ndt_7) {
        {
        t6_st = 1;
        transmit6();
        }
      } else {

      }
    } else {

    }
    if (t7_st == 0) {
      int tmp_ndt_8;
      tmp_ndt_8 = __VERIFIER_nondet_int();
      if (tmp_ndt_8) {
        {
        t7_st = 1;
        transmit7();
        }
      } else {

      }
    } else {

    }
    if (t8_st == 0) {
      int tmp_ndt_9;
      tmp_ndt_9 = __VERIFIER_nondet_int();
      if (tmp_ndt_9) {
        {
        t8_st = 1;
        transmit8();
        }
      } else {

      }
    } else {

    }
    if (t9_st == 0) {
      int tmp_ndt_10;
      tmp_ndt_10 = __VERIFIER_nondet_int();
      if (tmp_ndt_10) {
        {
        t9_st = 1;
        transmit9();
        }
      } else {

      }
    } else {

    }
    if (t10_st == 0) {
      int tmp_ndt_11;
      tmp_ndt_11 = __VERIFIER_nondet_int();
      if (tmp_ndt_11) {
        {
        t10_st = 1;
        transmit10();
        }
      } else {

      }
    } else {

    }
    if (t11_st == 0) {
      int tmp_ndt_12;
      tmp_ndt_12 = __VERIFIER_nondet_int();
      if (tmp_ndt_12) {
        {
        t11_st = 1;
        transmit11();
        }
      } else {

      }
    } else {

    }
    if (t12_st == 0) {
      int tmp_ndt_13;
      tmp_ndt_13 = __VERIFIER_nondet_int();
      if (tmp_ndt_13) {
        {
        t12_st = 1;
        transmit12();
        }
      } else {

      }
    } else {

    }
    if (t13_st == 0) {
      int tmp_ndt_14;
      tmp_ndt_14 = __VERIFIER_nondet_int();
      if (tmp_ndt_14) {
        {
        t13_st = 1;
        transmit13();
        }
      } else {

      }
    } else {

    }
  }
  while_14_break: /* CIL Label */ ;
  }

  return;
}
}