Need help understanding this piece of code (ArduPlane)

Could be a struct or a class. Either way, configure_msg() is a method "on" the object:

struct G {
  Camera camera;
};
struct Camera {
  void configure_msg(int msg){}
};
...

G g;
g.camera.configure_msg(msg);

HTH,
John