MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / LedSettingCommand

Class LedSettingCommand

include/internal/libfreenect2/protocol/command.h:260–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258
259#define LedSettingResponseSize 0
260struct LedSettingCommand : public libfreenect2::protocol::Command<KCMD_LED_SETTING, LedSettingResponseSize, LedSettingResponseSize, 4>
261{
262 LedSettingCommand(LedSettings led)
263 : Command<KCMD_LED_SETTING, LedSettingResponseSize, LedSettingResponseSize, 4>(0) // seq always zero
264 {
265 memcpy(this->data_.parameters, &led, sizeof(led));
266 }
267};
268
269
270} /* namespace protocol */

Callers 1

setLedStatusMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected