[Cs3] Lab 10 Process Clone Question
Mikhail Nesterenko
mikhail at cs.kent.edu
Mon Apr 11 23:15:40 EDT 2016
> Hello Dr. Nesterenko,
>
> On Lab 10, I am having issues with the clone part. Do I need the clone virtual function in the Process class or state class? When I tried inheriting it in my New class, I got errors when trying to return a new clone object.
>
A process (context in the State Design Pattern terminology) is to be
a clonable. A prototype process needs to be in a new state.
Thanks,
--
Mikhail
More information about the cs3
mailing list