[Stk] RtWvIn and WvIn

P.J.Leonard P.J.Leonard@bath.ac.uk
Thu, 31 Oct 2002 11:06:28 +0000


Hi,

  Trying to compile my code with the latest stk

  In older versions of STK it was possible to do something like


   WvIn *in;


  switch() {
   case 1: in = new RtWvIn();

   case 2: in = new WavWvIn();
  }

  Now this appears to be no longer possible because RtWvIn uses
protected inheritance.

   The old scheme was nice because you could switch from real time input
to reading from a file. I have not looked at the 4.0 release in detail
so I may missing something.


   cheers Paul.