1 2 3 4 5 6 7 8 9 10 11 12 13 14
part def Camera { private import PictureTaking::*; perform action takePicture[*] :> PictureTaking::takePicture; part focusingSubsystem { perform takePicture.focus; } part imagingSubsystem { perform takePicture.shoot; } }