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

Function onPlotUpdate

plugindev/simpleVisualiserGUI.hpp:105–125  ·  view source on GitHub ↗

this is called when the event from the thread is received

Source from the content-addressed store, hash-verified

103
104 // this is called when the event from the thread is received
105 void onPlotUpdate(wxCommandEvent& evt)
106 {
107 //int val = evt.GetInt();
108
109 // update the plot data (cyclic buffer)
110
111 smileMutexLock(wxMtx);
112 // replot
113 drawPane->paintEventCur = (paintDataEvent *)evt.GetClientData();
114 smileMutexUnlock(wxMtx);
115
116/*
117 drawPane->yscale100 = yscale100;
118 drawPane->featureName = evt.GetString();
119 drawPane->curval = val;
120 */
121 drawPane->showImg = true;
122 drawPane->paintNow();
123
124
125 }
126
127
128

Callers

nothing calls this directly

Calls 3

smileMutexLockFunction · 0.85
smileMutexUnlockFunction · 0.85
paintNowMethod · 0.45

Tested by

no test coverage detected