[OpenWalnut-Dev] Buffered WModuleInputConnector

Mario Hlawitschka hlawitschka at informatik.uni-leipzig.de
Tue May 29 18:42:00 CEST 2012


Hi Christof,

thanks for contributing to OW.

Not knowing what you are working on, could you explain in a bit more detail what the queue/ring buffer etc. should do in the context of input and output connectors? Do you have an example case where you are using it to demonstrate its purpose? Maybe one, that could serve as part of the OW  user documentation as well.


Looking at the diff, there are some minor language issues in the documentation, e.g.:
This class checks whether the input connector is an instance of WModuleInputDataCollection, if is it true. => More or less incomplete sentence?
We can discuss those off-list.

Is there a reason why thread-safety is only guaranteed for one producer and once consumer in the ring buffer implementation?


Thanks,

	Mario


On May 29, 2012, at 5:50 PM, Christof Pieloth wrote:

> Hello OW developers,
> 
> we implement an interface and class to realize a buffered or collection-like WModuleInputConnector. This should be useful for data processing through a pipeline of modules.
> Each module can use their own implementation of "WModuleInputDataCollection" like a queue, ring buffer or more. The source module must use "WModuleOutputDataCollectionable" to fill the connected WModuleInputDataCollections, because WModuleInputData only fetches the data from WModuleOutputData.
> It would be great if the diff, or an improved diff, could be included in default.
> 
> Bye,
> Christof Pieloth
> 
> -- 
> HTWK Leipzig, University of Applied Sciences
> Faculty of Electrical Engineering and Information Technology
> Laboratory for Biosignal Processing (LaBP)
> 
> fon:  +49 (0) 341 3076 3133
> fax:  +49 (0) 341 3076 853133
> mail: pieloth 'at' labp.htwk-leipzig.de
> 
> 
> <InputOutput.diff>_______________________________________________
> OpenWalnut-Dev mailing list
> OpenWalnut-Dev at lists.informatik.uni-leipzig.de
> http://lists.informatik.uni-leipzig.de/mailman/listinfo/openwalnut-dev
> 
> Archive: http://lists.informatik.uni-leipzig.de/pipermail/openwalnut-dev/



More information about the OpenWalnut-Dev mailing list