MCPcopy Create free account
hub / github.com/DISTRHO/DPF / createMessage

Function createMessage

distrho/src/DistrhoUIVST3.cpp:611–624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609 // helper functions called during message passing
610
611 v3_message** createMessage(const char* const id) const
612 {
613 DISTRHO_SAFE_ASSERT_RETURN(fHostApplication != nullptr, nullptr);
614
615 v3_tuid iid;
616 std::memcpy(iid, v3_message_iid, sizeof(v3_tuid));
617 v3_message** msg = nullptr;
618 const v3_result res = v3_cpp_obj(fHostApplication)->create_instance(fHostApplication, iid, iid, (void**)&msg);
619 DISTRHO_SAFE_ASSERT_INT_RETURN(res == V3_TRUE, res, nullptr);
620 DISTRHO_SAFE_ASSERT_RETURN(msg != nullptr, nullptr);
621
622 v3_cpp_obj(msg)->set_message_id(msg, id);
623 return msg;
624 }
625
626 void requestMorePluginData() const
627 {

Callers 7

connectFunction · 0.70
disconnectFunction · 0.70
requestMorePluginDataFunction · 0.70
editParameterFunction · 0.70
setParameterValueFunction · 0.70
setStateFunction · 0.70
sendNoteFunction · 0.70

Calls 2

create_instanceMethod · 0.80
v3_cpp_objFunction · 0.50

Tested by

no test coverage detected