ESPHome  2024.10.2
Public Member Functions | Protected Attributes
esphome::light::ColorCapabilityHelper Class Reference

Helper class to allow bitwise operations on ColorCapability. More...

#include <color_mode.h>

Public Member Functions

constexpr ColorCapabilityHelper (ColorCapability val)
 
constexpr operator ColorCapability () const
 
constexpr operator uint8_t () const
 
constexpr operator bool () const
 

Protected Attributes

ColorCapability val_
 

Detailed Description

Helper class to allow bitwise operations on ColorCapability.

Definition at line 25 of file color_mode.h.

Constructor & Destructor Documentation

◆ ColorCapabilityHelper()

constexpr esphome::light::ColorCapabilityHelper::ColorCapabilityHelper ( ColorCapability  val)
inline

Definition at line 27 of file color_mode.h.

Member Function Documentation

◆ operator bool()

constexpr esphome::light::ColorCapabilityHelper::operator bool ( ) const
inline

Definition at line 30 of file color_mode.h.

◆ operator ColorCapability()

constexpr esphome::light::ColorCapabilityHelper::operator ColorCapability ( ) const
inline

Definition at line 28 of file color_mode.h.

◆ operator uint8_t()

constexpr esphome::light::ColorCapabilityHelper::operator uint8_t ( ) const
inline

Definition at line 29 of file color_mode.h.

Field Documentation

◆ val_

ColorCapability esphome::light::ColorCapabilityHelper::val_
protected

Definition at line 33 of file color_mode.h.


The documentation for this class was generated from the following file: