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 80 of file cled_controller.cpp.hpp.
80 {
82 return;
83 }
84
85
88
89
90 while (curr != nullptr) {
92
93 if (prev == nullptr) {
94
97
99 }
100 } else {
101
104
106 }
107 }
108
109
111 break;
112 }
113 prev = curr;
115 }
116}
CLEDController * controller
static CLEDController * mPTail
pointer to the last LED controller in the linked list
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
CLEDController(RegistrationMode mode) FL_NO_EXCEPT
Protected constructor with registration mode.
References CLEDController(), controller, mPHead, mPNext, and mPTail.
Referenced by removeFromDrawList().