[Clam-devel] Typed Controls Tests

Hernán Ordiales h at ordia.com.ar
Sat May 3 16:33:58 PDT 2008

Remember when you're preparing patches add new files with 'svn add'
first in order to have a single file patch.
I'll prepare some basic unit tests (basically the same you're
currently doing with your TypedOutControl plugin) and I'll send them
as a patch too

On Tue, Apr 29, 2008 at 7:32 PM, Francisco Tufró <nictuku at gmail.com> wrote:
> As explained on the Data Flow Patterns pdf sent to me by pau (and taking
> some examples from the InPort.hxx and OutPort.hxx), i've been trying to
> create the template classes TInControl<T> and TOutControl<T>.
>  NOTICE: I have to say that the code i'm sending is not functional.
> I have some problems that i'll describe here.
> 1) We have to do something with the remove link and related functions to
> work. mLinks is not accessible from the TOutControl class (because is a
> OutControl private member). right now i commented the mLinks occurencies
> just to test it.
> 2) When trying to compile my test processing (TypedOutControl.hxx and cxx)
> I get this error:
>   TOutControl.hxx:84: error: cannot dynamic_cast 'in' (of type 'class
> CLAM::InControl') to type 'struct CLAM::TInControl<int>' (target is not
> pointer or reference)
>  I don't get the key of why this is happening.
> If you think i'm going in a wrong direction on something please tell me.
> Thanks!!
> Francisco
> _______________________________________________
>  Clam-devel mailing list
>  Clam-devel at llistes.projectes.lafarga.org
>  https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel

GnuPG: 0xEE8A3FE9

More information about the clam-devel mailing list