Projet S5 Info / Mbed 2 deprecated Projet_S5

Dependencies:   mbed PowerControl

Fork of Projet_S5 by Jonathan Tousignant

Embed: (wiki syntax)

« Back to documentation index

Analyzer Class Reference

Analyzer Class Reference

Class that analyzes the mouvement. More...

#include <analyzer.h>

Public Member Functions

 Analyzer ()
 Constructor.
 ~Analyzer ()
 Destructor.
void initialize ()
 Initialize analyzer.
void setMinMax (signed char *values)
 Set the minimum and maximum for each axe.
void setInitial (signed char *value)
 Set the initial value for each axe.
void checkMouvement ()
 Analyze the mouvement with initial, min and max of each axes.

Detailed Description

Class that analyzes the mouvement.

Class in C++ that analyzes data of acceloremeter and find the mouvement

Definition at line 32 of file analyzer.h.


Constructor & Destructor Documentation

Analyzer (  )

Constructor.

Definition at line 11 of file analyzer.cpp.

~Analyzer (  )

Destructor.

Definition at line 15 of file analyzer.cpp.


Member Function Documentation

void checkMouvement (  )

Analyze the mouvement with initial, min and max of each axes.

Create value in hexadecimal and find this value in the map

Definition at line 59 of file analyzer.cpp.

void initialize (  )

Initialize analyzer.

Definition at line 20 of file analyzer.cpp.

void setInitial ( signed char *  value )

Set the initial value for each axe.

Parameters:
valueThe initial value

Definition at line 141 of file analyzer.cpp.

void setMinMax ( signed char *  values )

Set the minimum and maximum for each axe.

Parameters:
valuesValues to compare with the min and max

Definition at line 52 of file analyzer.cpp.