CoLaParameterWriter & operator<<(const char *str)
Add a string parameter, must be null-terminated.
CoLaParameterWriter & parameterUSInt(const uint8_t uSInt)
Add a unsigned short (8-bit, range [0, 255]).
CoLaParameterWriter & parameterInt(const int16_t integer)
Add a signed int (16-bit).
Builder for constructing CoLaCommands.
CoLaParameterWriter & parameterBool(const bool boolean)
Add a boolean as a byte, with 0 representing false, and 1 representing true.
CoLaParameterWriter(CoLaCommandType::Enum type, const char *name)
Construct a new CoLaParameterWriter.
CoLaParameterWriter & parameterFlexString(const std::string &str)
Add a string as a flex string.
std::vector< uint8_t > m_buffer
CoLaParameterWriter & parameterUDInt(const uint32_t uDInt)
Add an unsigned double int (32-bit, range [0, 4294967295]).
CoLaCommandType::Enum m_type
CoLaParameterWriter & parameterSInt(const int8_t sInt)
Add a signed short (8-bit, range [-128, 127]).
CoLaParameterWriter & parameterUInt(const uint16_t uInt)
Add a unsigned int (16-bit, range [0, 65535]).
CoLaParameterWriter & parameterLReal(const double lReal)
Add a IEEE-754 double precision (64-bit).
CoLaParameterWriter & parameterReal(const float real)
Add a IEEE-754 single precision (32-bit).
CoLaParameterWriter & parameterPasswordMD5(const std::string &str)
Add the given password as a UDInt, using MD5 hashing.
void writeHeader(CoLaCommandType::Enum type, const char *name)
CoLaParameterWriter & parameterDInt(const int32_t dInt)
Add an signed double int (32-bit).
const CoLaCommand build()
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:38:05