Class CoLaCommand
Defined in File CoLaCommand.h
Class Documentation
-
class CoLaCommand
Public Functions
-
CoLaCommand(std::vector<uint8_t> buffer)
Construct a new CoLaCommand from the given data buffer.
-
~CoLaCommand()
-
const std::vector<uint8_t> &getBuffer()
Get the binary data buffer.
-
const char *getName()
Get the name of command.
-
size_t getParameterOffset()
Get offset in bytes to where first parameter starts.
Public Static Functions
-
static CoLaCommand networkErrorCommand()
Create a command for network errors.
-
CoLaCommand(std::vector<uint8_t> buffer)