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

Class CommandWith1Param

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

Source from the content-addressed store, hash-verified

161
162template<uint32_t CommandId, uint32_t MaxResponseLength, uint32_t Param1>
163struct CommandWith1Param : public Command<CommandId, MaxResponseLength, MaxResponseLength, 1>
164{
165 CommandWith1Param(uint32_t seq) : Command<CommandId, MaxResponseLength, MaxResponseLength, 1>(seq)
166 {
167 this->data_.parameters[0] = Param1;
168 }
169};
170
171template<uint32_t CommandId, uint32_t MaxResponseLength, uint32_t MinResponseLength, uint32_t Param1>
172struct CommandWith1ParamLarge : public Command<CommandId, MaxResponseLength, MinResponseLength, 1>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected