11 #ifndef __LIGHT_WRAPPER_HEADER
12 #define __LIGHT_WRAPPER_HEADER
15 #include "../ustd/shared_ptr.hpp"
19 class light_wrapper_base_class {
21 virtual ~light_wrapper_base_class() {}
24 virtual void update() = 0;
30 class light_wrapper_derived_class:
public light_wrapper_base_class {
32 light_wrapper_derived_class(): val_() {
34 explicit light_wrapper_derived_class(T
const & t): val_(t) {
54 template<
typename pin_concept,
bool on_state = HIGH>
72 #endif //__LIGHT_WRAPPER_HEADER
light_enum
Definition: light.hpp:22
#define ASSERT(exp)
Definition: ard_assert.hpp:33