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

Method addAsSource

hi_scripting/scripting/api/ScriptBroadcaster.cpp:4483–4490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4481}
4482
4483void ScriptBroadcaster::addAsSource(DebugableObjectBase* b, const Identifier& callbackId)
4484{
4485 throwIfAlreadyConnected();
4486
4487 attachedListeners.add(new DebugableObjectListener(this, {}, b, callbackId));
4488
4489 checkMetadataAndCallWithInitValues(attachedListeners.getLast());
4490}
4491
4492bool ScriptBroadcaster::addLocationForFunctionCall(const Identifier& id, const DebugableObjectBase::Location& location)
4493{

Callers 15

DelayedFunctionMethod · 0.45
setPreCallbackMethod · 0.45
setPostCallbackMethod · 0.45
setPostSaveCallbackMethod · 0.45
setExpansionCallbackMethod · 0.45
setInstallCallbackMethod · 0.45
setCallbackInternalMethod · 0.45
setTimerCallbackMethod · 0.45
setSequenceCallbackMethod · 0.45
setFinishCallbackMethod · 0.45

Calls 2

addMethod · 0.45
getLastMethod · 0.45

Tested by

no test coverage detected