Public Types | Public Attributes | List of all members
packml_stacklight::Light Class Reference

#include <light.h>

Public Types

enum  Value {
  UNDEFINED = 0, RED = 1, AMBER = 2, GREEN = 3,
  BLUE = 4
}
 

Public Attributes

bool active_ = false
 
Value current_ = UNDEFINED
 
bool flashing_ = false
 
const std::map< Value, std::string > map_
 

Detailed Description

Definition at line 26 of file light.h.

Member Enumeration Documentation

Enumerator
UNDEFINED 
RED 
AMBER 
GREEN 
BLUE 

Definition at line 29 of file light.h.

Member Data Documentation

bool packml_stacklight::Light::active_ = false

Definition at line 44 of file light.h.

Value packml_stacklight::Light::current_ = UNDEFINED

Definition at line 43 of file light.h.

bool packml_stacklight::Light::flashing_ = false

Definition at line 45 of file light.h.

const std::map<Value, std::string> packml_stacklight::Light::map_
Initial value:
= { { UNDEFINED, "UNDEFINED-LIGHT" },
{ RED, "red" },
{ AMBER, "amber" },
{ GREEN, "green" },
{ BLUE, "blue" } }

Definition at line 38 of file light.h.


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


packml_stacklight
Author(s): Joshua Hatzenbuehler
autogenerated on Fri Jul 12 2019 03:31:01