Logo Search packages:      
Sourcecode: ecawave version File versions  Download package

void QEEvent::nonblocking_start ( void   )  [protected, inherited]

Starts processing and returns immediately without blocking. is shown.

require: ectrl->is_valid() == true ectrl->is_selected() == true is_triggered() == false

ensure: is_triggered() == true || ectrl->is_running() == false

Definition at line 136 of file qeevent.cpp.

References QEEvent::is_triggered(), QEEvent::toggle_result(), and QEEvent::toggle_triggered_state().

Referenced by QENonblockingEvent::start().

                                    {
  // --------
  DBC_REQUIRE(ectrl->is_valid() == true);
  DBC_REQUIRE(ectrl->is_selected() == true);
  DBC_REQUIRE(is_triggered() == false);
  // --------

  ectrl->connect_chainsetup();
  if (ectrl->is_connected() != true) {
    QMessageBox* mbox = new QMessageBox(0, "mbox");
    mbox->information(0, "ecawave", QString("Error during operation!"), 0);
    toggle_result(false);
    return;
  }

  set_audio_object_params();

  ectrl->start();
  toggle_triggered_state(true);
  toggle_result(true);

  // --------
  DBC_ENSURE(is_triggered() == true || ectrl->is_running() == false);
  // --------
}


Generated by  Doxygen 1.6.0   Back to index