trabalho final
Dependencies: X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed
userMethods.h
- Committer:
- Jacinta
- Date:
- 2016-05-18
- Revision:
- 37:886dcde018ad
- Parent:
- 35:34bbca276f99
File content as of revision 37:886dcde018ad:
#ifndef USERMETHODS_H #define USERMETHODS_H #include <vector> #include "sensor.h" #include "log.h" using std::vector; #define QUEUESIZE 120 // Class that will proccess the user commands on main class UserMethods { public: UserMethods(vector<log_data> vector, int num, ExpansionBoard sensor, bool lFlag, Mail<log_data, QUEUESIZE> mail); static void logging(const void*); static void readAllData(const void*); static void readNData(const void*); int deleteAllData(const void*); int deleteNData(const void*); Mail<log_data, QUEUESIZE> * logMail; static int * n; static bool flag; static ExpansionBoard * e; }; #endif