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

Method registerReadRequest

src/core/dataMemory.cpp:76–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void cDataMemory::registerReadRequest(const char *lvl, const char *componentInstName)
77{
78 if (lvl == NULL) return;
79
80 // do nothing if this request was already registered!
81 for (const auto &rq : rrq) {
82 if (!strcmp(lvl,rq.levelName) && (componentInstName==NULL || !strcmp(componentInstName,rq.instanceName)))
83 return;
84 }
85
86 // add request to list
87 rrq.emplace_back(componentInstName, lvl);
88
89 SMILE_DBG(2,"registerReadRequest: registered read request for level '%s' by component instance '%s'",lvl,componentInstName);
90}
91
92void cDataMemory::registerWriteRequest(const char *lvl, const char *componentInstName)
93{

Callers 1

myRegisterInstanceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected