Indicator facilities are defined in the
include/picolibrary/indicator.h
/source/picolibrary/indicator.cc
header/source file pair.
The ::picolibrary::Indicator::Initial_Indicator_State
enum class is used to identify
initial indicator states.
A std::ostream
insertion operator is defined for
::picolibrary::Indicator::Initial_Indicator_State
if the
PICOLIBRARY_ENABLE_AUTOMATED_TESTING
project configuration option is ON
.
The insertion operator is defined in the
include/picolibrary/testing/automated/indicator.h
/source/picolibrary/testing/automated/indicator.cc
header/source file pair.
The ::picolibrary::Indicator::Fixed_Intensity_Indicator_Concept
concept class defines
the expected interface of a fixed intensity indicator.
initialize()
member function.extinguish()
member
function.illuminate()
member
function.toggle()
member
function.The ::picolibrary::Indicator::GPIO_Output_Pin_Fixed_Intensity_Indicator
template class
is a GPIO output pin based fixed intensity indicator implementation.
::picolibrary::Indicator::GPIO_Output_Pin_Fixed_Intensity_Indicator
automated tests are
defined in the
test/automated/picolibrary/indicator/gpio_output_pin_fixed_intensity_indicator/main.cc
source file.
The ::picolibrary::Testing::Automated::Indicator::Mock_Fixed_Intensity_Indicator
mock
fixed intensity indicator class is available if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING
project configuration option is ON
.
The mock is defined in the
include/picolibrary/testing/automated/indicator.h
/source/picolibrary/testing/automated/indicator.cc
header/source file pair.