Remove a controller from the linked list.
- Parameters
-
| controller | The controller to remove from the list |
- Note
- Protected static method - subclasses can call this in their cleanup methods
Definition at line 68 of file cled_controller.cpp.hpp.
68 {
70 return;
71 }
72
73
76
77
78 while (curr != nullptr) {
80
81 if (prev == nullptr) {
82
85
87 }
88 } else {
89
92
94 }
95 }
96
97
99 break;
100 }
101 prev = curr;
103 }
104}
CLEDController * controller
static CLEDController * mPTail
pointer to the last LED controller in the linked list
CLEDController(RegistrationMode mode) FL_NOEXCEPT
Protected constructor with registration mode.
CLEDController * mPNext
pointer to the next LED controller in the linked list
static CLEDController * mPHead
pointer to the first LED controller in the linked list
References CLEDController(), controller, mPHead, mPNext, and mPTail.
Referenced by removeFromDrawList().