| 252 | } |
| 253 | |
| 254 | bool CustomControlUnitMgr::inactive() |
| 255 | { |
| 256 | if (!controller_ || !controller_->inactive) { |
| 257 | LogTrace << "inactive callback not provided, returning true"; |
| 258 | return true; |
| 259 | } |
| 260 | |
| 261 | LogFunc << VAR_VOIDP(controller_) << VAR_VOIDP(controller_->inactive); |
| 262 | return controller_->inactive(controller_arg_); |
| 263 | } |
| 264 | |
| 265 | json::object CustomControlUnitMgr::get_info() const |
| 266 | { |