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

Class CommandWith4Params

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

Source from the content-addressed store, hash-verified

179
180template<uint32_t CommandId, uint32_t MaxResponseLength, uint32_t Param1, uint32_t Param2 = 0, uint32_t Param3 = 0, uint32_t Param4 = 0>
181struct CommandWith4Params : public Command<CommandId, MaxResponseLength, MaxResponseLength, 4>
182{
183 CommandWith4Params(uint32_t seq) : Command<CommandId, MaxResponseLength, MaxResponseLength, 4>(seq)
184 {
185 this->data_.parameters[0] = Param1;
186 this->data_.parameters[1] = Param2;
187 this->data_.parameters[2] = Param3;
188 this->data_.parameters[3] = Param4;
189 }
190};
191
192typedef CommandWith0Params<0x02, 0x200> ReadFirmwareVersionsCommand;
193

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected