29 lines
573 B
C++
29 lines
573 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: LSHandle.hpp
|
|
Date: 2021-10-1
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
#include "WaitSingle.hpp"
|
|
|
|
namespace Aurora::Loop
|
|
{
|
|
class LSHandle : public WaitSingleGeneric
|
|
{
|
|
public:
|
|
LSHandle(AuUInt handle);
|
|
|
|
bool OnTrigger(AuUInt handle, bool atomicSignal) override;
|
|
AuList<AuUInt> GetHandles() override;
|
|
ELoopSource GetType() override;
|
|
|
|
protected:
|
|
AuUInt handle;
|
|
|
|
private:
|
|
AuList<AuUInt> reference;
|
|
};
|
|
} |