Minor fixes

Dependencies:   LPS25H hts221

Fork of Coursework by Group PAG

MyQueue.h

Committer:
noutram
Date:
2017-05-04
Revision:
44:2b23c7407547

File content as of revision 44:2b23c7407547:

#ifndef Queue_H
#define Queue_H
#include "Reading.h"
 
class MyQueue{
       //variables 
       public: 
       int maxSize;
       int front;
       int back;
       int count;
       bool isFull;
       Reading *storage;
       
       
       //realisticly what we need::
       //read values taking argument n
       //read values taking no argument 
       //take value and put it in the right place
       //delete with argument
       //delete without argument
       
       MyQueue();
       void push(Reading r);
       void read(int nR); // where nR is the number to read, if REAL ALL is typed then the method will be called by something like queue.read(queue.count).
       void deleteRecords(int nD); //as above but nD is number to delete
           
};
#endif