Struct Color

Inheritance Relationships

Base Type

  • public std_msgs::msg::ColorRGBA

Struct Documentation

struct Color : public std_msgs::msg::ColorRGBA

Public Functions

inline Color(const float r, const float g, const float b, const float a = 1.0f) noexcept
template<class T>
inline operator T() const

Public Static Functions

template<class Return = Color>
static inline auto White(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Silver(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Gray(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Black(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Red(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Maroon(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Yellow(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Olive(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Lime(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Green(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Aqua(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Teal(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Blue(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Navy(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Fuchsia(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>
template<class Return = Color>
static inline auto Purple(const float alpha = 1.0f) noexcept -> std::enable_if_t<is_rgba_compat_v<Return>, Return>