[generation] make all fields of base task class protected
[generation] make all fields of base task class protected

  This is needed for actual task implementation to access attributes,
  ports, ...

doudou/modelkit-component,doudou/modelkit-component