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

Method ddpNotify

lib/DDPPlugin/src/DDPServer.cpp:597–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597void DDPServer::ddpNotify(Format format, uint32_t offset, uint8_t bitsPerPixelElement, uint8_t* payload, uint16_t payloadSize, bool isFinal)
598{
599 DDPCallback callback = nullptr;
600
601 {
602 MutexGuard<Mutex> guard(m_mutex);
603
604 callback = m_ddpCallback;
605 }
606
607 if (nullptr != callback)
608 {
609 callback(format, offset, bitsPerPixelElement, payload, payloadSize, isFinal);
610 }
611}
612
613void DDPServer::dmxNotify(uint32_t universe, uint8_t startCode, uint8_t* payload, uint16_t payloadSize)
614{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected