Nelson Santos / Mbed 2 deprecated trabalho

Dependencies:   X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers userMethods.h Source File

userMethods.h

00001 #ifndef USERMETHODS_H
00002 #define USERMETHODS_H
00003 
00004 #include <vector>
00005 #include "sensor.h"
00006 #include "log.h"
00007 
00008 using std::vector;
00009 
00010 #define QUEUESIZE 120
00011 
00012 // Class that will proccess the user commands on main 
00013 class UserMethods
00014 {
00015 public:
00016     UserMethods(vector<log_data> vector, int num, ExpansionBoard sensor, bool lFlag, Mail<log_data, QUEUESIZE> mail);
00017     static void logging(const void*);
00018     static void readAllData(const void*);
00019     static void readNData(const void*);
00020     int deleteAllData(const void*);
00021     int deleteNData(const void*);
00022     Mail<log_data, QUEUESIZE> * logMail;
00023     static int * n;
00024     static bool flag;
00025     static ExpansionBoard * e;
00026 };
00027 
00028 #endif