[Clam-devel] PATCH: add new ControlArray template

Zach Welch zach-clam-devel at splitstring.com
Fri Apr 6 16:16:19 PDT 2007


Howdy,

The attached patch refactors the functionality of InControlArray and 
OutControlArray into a new template class, ControlArray.  The former types 
are replaced with typedefs of the appropriate port type.  In addition, two 
new methods were added to make the class more generally useful; the Append 
methods are a convenience that I have found useful in a couple of places.
This template can also be used for handling arrays of Ports or PortPublishers.

Cheers,

Zach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: control-arrays.patch
Type: text/x-diff
Size: 12162 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070406/0bd21857/attachment-0002.patch>


More information about the clam-devel mailing list