#include <Light.h>
|
| enum class | EColor {
NONE = PBIO_COLOR_NONE
, BLACK = PBIO_COLOR_BLACK
, GRAY = PBIO_COLOR_GRAY
, WHITE = PBIO_COLOR_WHITE
,
RED = PBIO_COLOR_RED
, BROWN = PBIO_COLOR_BROWN
, ORANGE = PBIO_COLOR_ORANGE
, YELLOW = PBIO_COLOR_YELLOW
,
GREEN = PBIO_COLOR_GREEN
, SPRING_GREEN = PBIO_COLOR_SPRING_GREEN
, CYAN = PBIO_COLOR_CYAN
, BLUE = PBIO_COLOR_BLUE
,
VIOLET = PBIO_COLOR_VIOLET
, MAGENTA = PBIO_COLOR_MAGENTA
} |
◆ EColor
◆ Light()
| spikeapi::Light::Light |
( |
void | | ) |
|
|
default |
コンストラクタ
- Parameters
-
- Returns
- -
◆ hasError()
| bool spikeapi::Light::hasError |
( |
| ) |
|
|
inline |
インスタンス生成が正常にできたかどうかを確認するための共通メソッド Lightでは複数生成が問題ないので、常にfalseを返す
◆ turnOff()
| void spikeapi::Light::turnOff |
( |
| ) |
const |
|
inline |
◆ turnOnColor()
指定された色でライトを点灯させる
- Parameters
-
◆ turnOnHSV()
指定されたHSVでライトを点灯させる
- Parameters
-
The documentation for this class was generated from the following files:
- libcpp-spike/include/Light.h
- libcpp-spike/src/Light.cpp