MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / dmxNotify

Method dmxNotify

lib/DDPPlugin/src/DDPServer.cpp:613–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613void DDPServer::dmxNotify(uint32_t universe, uint8_t startCode, uint8_t* payload, uint16_t payloadSize)
614{
615 DMXCallback callback = nullptr;
616
617 {
618 MutexGuard<Mutex> guard(m_mutex);
619
620 callback = m_dmxCallback;
621 }
622
623 if (nullptr != callback)
624 {
625 callback(universe, startCode, payload, payloadSize);
626 }
627}
628
629bool DDPServer::send(const DDPPacket& packet)
630{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected