[Clam-devel] Token Delay in NetworkEditor
Pau Arumi
parumi at iua.upf.edu
Tue May 22 04:09:56 PDT 2007
En/na Xavier Amatriain ha escrit:
> I was planning on adding more template specializations of TokenDelay in
> NetworkEditor. I am specially interested in adding the
> TokenDelay<Spectrum>. Having this we could finally crete a network that
> would mimic completely our old spectralDelay app.
>
> The question is: should I take the same approach as I did with
> DataDelay? That is: derive a non-template class and override the
> GetClassName method for each template specialization. Typedef does not
> work in this context because we need to override that method in
> particular for storing/loading the processing.
yes
> Where should such specializations live? In TokenDelay.cxx or better in
> each corresponding folder (like TokenDelay<Spectrum> would be in
> SpectralTransformations.
the second, imo. one file per processing and each file to each
dir (which might be seen as a module).
More information about the clam-devel
mailing list