AuroraRuntime/Source/Loop/LSEvent.NT.hpp

24 lines
541 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: LSEvent.NT.hpp
Date: 2021-10-1
Author: Reece
***/
#pragma once
#include "LSHandle.hpp"
namespace Aurora::Loop
{
struct LSEvent : public ILSEvent, public LSHandle
{
public:
LSEvent(bool triggered, bool atomicRelease, bool permitMultipleTriggers);
bool Set() override;
bool Reset() override;
bool ILSEvent::IsSignaled() override;
virtual ELoopSource ILSEvent::GetType() override;
};
}