mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
23 lines
298 B
C++
23 lines
298 B
C++
#pragma once
|
|
#include "Global.h"
|
|
#include <queue>
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
class QueueBuf;
|
|
|
|
class QueueBuf {
|
|
public:
|
|
QueueBuf();
|
|
~QueueBuf();
|
|
|
|
void push(int element);
|
|
void pop();
|
|
int front();
|
|
|
|
private:
|
|
queue<int> queue1;
|
|
};
|
|
|
|
extern QueueBuf* myQueue; |