MCPcopy Create free account
hub / github.com/christophhart/HISE / sendMessage

Method sendMessage

hi_scripting/scripting/api/GlobalServer.cpp:72–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void GlobalServer::sendMessage(bool sendDownloadMessage)
73 {
74 int numThisTime = sendDownloadMessage ? internalThread.pendingDownloads.size() : internalThread.pendingCallbacks.size();
75
76 for (auto l : listeners)
77 {
78 if (l != nullptr)
79 {
80 if (sendDownloadMessage)
81 l.get()->downloadQueueChanged(numThisTime);
82 else
83 l.get()->queueChanged(numThisTime);
84 }
85 }
86 }
87
88 GlobalServer::State GlobalServer::getServerState() const
89 {

Callers 15

abortEverythingMethod · 0.45
setVariableValueMethod · 0.45
connectToOSCMethod · 0.45
getSlotBaseMethod · 0.45
checkValidClonesMethod · 0.45
addErrorMethod · 0.45
removeErrorMethod · 0.45
setCurrentRootNodeMethod · 0.45
runMethod · 0.45
sendUpdateMessageMethod · 0.45

Calls 4

sizeMethod · 0.45
downloadQueueChangedMethod · 0.45
getMethod · 0.45
queueChangedMethod · 0.45

Tested by

no test coverage detected