Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed APDS_9960 mbed-rtos
include/cMatrice.h
- Committer:
- clementdoreau
- Date:
- 2016-03-31
- Revision:
- 6:0e6c1cccb275
- Parent:
- 3:493dd1cf30a4
File content as of revision 6:0e6c1cccb275:
#ifndef CMATRICE_H
#define CMATRICE_H
#include "cForme.h"
#include <vector>
#include "mbed.h"
// Déclaration de la classe Matrice
class cMatrice
{
private:
unsigned char** _matrice;
std::vector<cForme> _formes;
protected:
public:
// CONSTRUCTEUR
cMatrice();
virtual ~cMatrice();
// GETTER
unsigned char **getMatrice();
// SETTER
// METHODES
void envoyerMatrice();
void afficherForme(cForme &, unsigned char c);
void ajouterForme(cForme &);
void supprimerForme(cForme & f);
void clear();
};
#endif // CMATRICE_H