MCPcopy Create free account
hub / github.com/audeering/opensmile / myFinaliseInstance

Method myFinaliseInstance

plugindev/ClassifierResultGUI.cpp:384–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382
383
384int cClassifierResultGUI::myFinaliseInstance()
385{
386 // FIRST call cDataSink myFinaliseInstance, this will finalise our dataWriter...
387 //int ret = cSmileComponent::myFinaliseInstance();
388
389 /* if that was SUCCESSFUL (i.e. ret == 1), then do some stuff like
390 loading models or opening output files: */
391
392
393 //fo = new openSmilePluginGUI::TestForm();
394 //IMPLEMENT_APP_NO_MAIN(appname)
395 int ret = 1;
396 smileMutexCreate(wxMtx);
397
398 if (!(int)smileThreadCreate(guiThr, wxClsThreadRunner, this)) {
399 SMILE_IERR(1,"error creating GUI thread!!");
400 }
401
402 return ret;
403}
404
405// search for a class by its name and get the local index
406int cClassifierResultGUI::getClassIndex(const char *name)

Callers

nothing calls this directly

Calls 2

smileMutexCreateFunction · 0.85
smileThreadCreateFunction · 0.85

Tested by

no test coverage detected