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>.<br>
NOTICE: I have to say that the code i'm sending is not functional.<br>I have some problems that i'll describe here.<br><br>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.<br>
<br>2) When trying to compile my test processing (TypedOutControl.hxx and cxx)<br>I get this error:<br>  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)<br>
I don't get the key of why this is happening.<br><br>If you think i'm going in a wrong direction on something please tell me.<br>Thanks!!<br>Francisco<br>