Queue
ABC Pipeline with Queue
Pipeline
Pipeline (maxsize=0)
Pipeline class from Queue for single-ended unit in dataflow
Pipeline.get_data
Pipeline.get_data ()
*Get data from the pipeline
return: data: data from the pipeline*
Pipeline.put_data
Pipeline.put_data (value:~T)
*Put data into the pipeline
arg:
value: data to be put into the pipeline
return:
None*
Pipeline.clear
Pipeline.clear ()
*clear the pipeline (Queue) as the standard Queue
since python queue.Queue
does not have clear() method*