mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
версия с solid выгрузкой точек
This commit is contained in:
29
include/classes/IoTDB.h
Normal file
29
include/classes/IoTDB.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
#include "Global.h"
|
||||
#include <queue>
|
||||
|
||||
using namespace std;
|
||||
|
||||
struct QueueItems {
|
||||
String myword;
|
||||
uint8_t num;
|
||||
};
|
||||
|
||||
class IoTDB;
|
||||
|
||||
class IoTDB {
|
||||
public:
|
||||
IoTDB();
|
||||
~IoTDB();
|
||||
|
||||
void push(QueueItems word);
|
||||
void pop();
|
||||
QueueItems front();
|
||||
bool empty();
|
||||
|
||||
private:
|
||||
queue<QueueItems> queue1;
|
||||
QueueItems tmpItem;
|
||||
};
|
||||
|
||||
extern IoTDB* myDB;
|
||||
Reference in New Issue
Block a user