Set a (new) 'input' queue for incoming data.
| 60 | |
| 61 | //Set a (new) 'input' queue for incoming data. |
| 62 | void setInput(VisualInputQueueTypePtr vis_in) { |
| 63 | std::lock_guard < std::mutex > busy_lock(busy_update); |
| 64 | input = vis_in; |
| 65 | |
| 66 | } |
| 67 | |
| 68 | //Add a vis_out queue where to consumed 'input' data will be |
| 69 | //dispatched by distribute(). |