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: X_NUCLEO_IKS01A1-f255a2c75ecb mbed-rtos mbed
Diff: userMethods.h
- Revision:
- 35:34bbca276f99
- Parent:
- 31:8bbdfea60151
diff -r 2ee6fbdad7b4 -r 34bbca276f99 userMethods.h
--- a/userMethods.h Wed May 18 02:30:17 2016 +0000
+++ b/userMethods.h Wed May 18 03:32:21 2016 +0000
@@ -2,25 +2,24 @@
#define USERMETHODS_H
#include <vector>
+#include "sensor.h"
#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(int num, ExpansionBoard sensor, bool lFlag);
+ 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*);
- static vector<log_data> * v;
+ Mail<log_data, QUEUESIZE> * logMail;
static int * n;
static bool flag;
static ExpansionBoard * e;
