#ifndef camera_h #define camera_h // camera.h // buzz - Programme du robot Efrei Robotique I1-I2 2003 // Copyright (C) 2003 Nicolas Schodet class Camera { int m_fd; static const int m_w = 352, m_h = 280; int m_frameSize; public: // Constructeur. Camera (); // Destructeur. ~Camera (); // Lit une image. void read (unsigned char *image) const; // Lit la taille. void getSize (int &w, int &h) const { w = m_w; h = m_h; } }; #endif // camera_h