| 611 | } |
| 612 | |
| 613 | void 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 | |
| 629 | bool DDPServer::send(const DDPPacket& packet) |
| 630 | { |
nothing calls this directly
no outgoing calls
no test coverage detected