mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
21 lines
338 B
C++
21 lines
338 B
C++
#pragma once
|
|
|
|
#include "PLCore.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
struct TimeTaggedVOSEvent;
|
|
|
|
namespace PortabilityLayer
|
|
{
|
|
class EventQueue
|
|
{
|
|
public:
|
|
virtual bool Dequeue(TimeTaggedVOSEvent *evt) = 0;
|
|
virtual const TimeTaggedVOSEvent *Peek() const = 0;
|
|
virtual TimeTaggedVOSEvent *Enqueue() = 0;
|
|
|
|
static EventQueue *GetInstance();
|
|
};
|
|
}
|