Nelson Santos / Mbed 2 deprecated trabalho

Dependencies:   X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed

userMethods.h

Committer:
nlsantos
Date:
2016-05-17
Revision:
25:2197b8bb930c
Parent:
21:849e5636076e
Child:
31:8bbdfea60151

File content as of revision 25:2197b8bb930c:

#ifndef USERMETHODS_H
#define USERMETHODS_H

#include <vector>
#include "log.h"
#include "sensor.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);
    static void logging(const void*);
    static void readAllData(const void*);
    static void readNData(const void*);
    int deleteAllData(const void*);
    int deleteNData(const void*);
    static vector<log_data> * v;
    static int * n;
    static bool flag;
    static ExpansionBoard * e;
};

#endif