Writing Camera features-related code from Camwire C to C++