20 lines
514 B
C++
20 lines
514 B
C++
|
/***
|
||
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: IIOWaitableTickLimiter.hpp
|
||
|
Date: 2022-6-6
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#pragma once
|
||
|
|
||
|
namespace Aurora::IO
|
||
|
{
|
||
|
struct IIOWaitableTickLimiter : IIOWaitableItem
|
||
|
{
|
||
|
virtual AuUInt64 SetConstantTick(AuUInt64 ns) = 0;
|
||
|
virtual AuUInt64 SetMinTime(AuUInt64 ns) = 0;
|
||
|
virtual AuUInt32 SetMinTickDelta(AuUInt32 tickDelta) = 0;
|
||
|
};
|
||
|
|
||
|
AUKN_SYM AuSPtr<IIOWaitableTickLimiter> NewWaitableTickLimiter();
|
||
|
}
|