mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
25 lines
361 B
C++
25 lines
361 B
C++
#pragma once
|
|
#include "classes/QueueInst.h"
|
|
#include "Global.h"
|
|
#include <queue>
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
class QueueBuf;
|
|
|
|
class QueueBuf {
|
|
public:
|
|
QueueBuf();
|
|
~QueueBuf();
|
|
|
|
void push(QueueInstance instance);
|
|
void pop();
|
|
QueueInstance front();
|
|
|
|
private:
|
|
queue<QueueInstance> queue1;
|
|
};
|
|
|
|
extern QueueBuf* myQueue;
|