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

Method resetInstances

src/core/componentManager.cpp:1079–1100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1077}
1078
1079void cComponentManager::resetInstances()
1080{
1081 int i;
1082 // TODO: abort processing , stop threads...etc.??
1083 int mylastComponent = lastComponent;
1084 for (i=0; i<mylastComponent; i++) {
1085 unregisterComponentInstance(i,1); // all BUT dataMemories...
1086 }
1087
1088 mylastComponent = lastComponent;
1089 for (i=0; i<mylastComponent; i++) {
1090 unregisterComponentInstance(i); // now free the dataMemories
1091 }
1092 nComponents = 0;
1093 lastComponent = 0; // ???
1094 // flag that indicates if all components are set up and ready...
1095 ready = 0;
1096 isConfigured = 0;
1097 isFinalised = 0;
1098 EOI = 0;
1099 abortRequest = 0;
1100}
1101
1102int cComponentManager::findComponentInstance(const char *_compname) const
1103{

Callers 1

smile_resetFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected