convert camera internals to DeviceMap template
convert to devicemap base class