ColorRGBA 消息类型:std/ColorRGBA
更多...
#include <rmvlmsg/std/color_rgba.hpp>
|
| std::string | serialize () const noexcept |
| | 消息序列化
|
| std::size_t | compact_size () const noexcept |
| | 获取消息紧凑序列化后的大小(单位:字节)
|
|
| float | r {} |
| float | g {} |
| float | b {} |
| float | a {} |
|
| static constexpr const char | msg_type [] = "std/ColorRGBA" |
| | 消息类型字符串常量
|
ColorRGBA 消息类型:std/ColorRGBA
◆ compact_size()
| std::size_t rm::msg::ColorRGBA::compact_size |
( |
| ) |
const |
|
noexcept |
◆ deserialize()
| ColorRGBA rm::msg::ColorRGBA::deserialize |
( |
const char *const | str | ) |
|
|
staticnoexcept |
◆ serialize()
| std::string rm::msg::ColorRGBA::serialize |
( |
| ) |
const |
|
noexcept |
| float rm::msg::ColorRGBA::a {} |
| float rm::msg::ColorRGBA::b {} |
| float rm::msg::ColorRGBA::g {} |
◆ msg_type
| const char rm::msg::ColorRGBA::msg_type[] = "std/ColorRGBA" |
|
staticconstexpr |
| float rm::msg::ColorRGBA::r {} |