Reece
44108a322e
[+] TTYConsole::GetPaddingTopOfLog,GetPaddingHeadOfLog,GetPaddingTopOfLog [+ set variants] [+] IO::IOYield() [+] IO::IAsyncTransaction::Failed,GetOSErrorCode() [+] IByteBufferStreamPair [+] IIOBufferedInterceptor [+] IIOBufferedProcessor [+] IIOEventListener [+] IIOPipeEventListener [+] IIOProcessorEventListener [+] IIOProcessorManualInvoker [+] IIOWaitableIOLoopSource [+] IIOWaitableIOTimer [+] IIOWaitableItem [+] IIOWaitableTickLimiter [+] IOAdapterAsyncStream [+] IOAdapterByteBuffer [+] IOAdapterCompression [+] IOAdapterSeeking [*] Cleanup CpuInfo.Linux.cpp [*] Fixup async threadpool some more [*] LSTimer.NT.cpp updates timer object on tick state update, akin to Linux
35 lines
816 B
C++
35 lines
816 B
C++
/***
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: IOProcessorItem.hpp
|
|
Date: 2022-6-6
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO
|
|
{
|
|
struct IOProcessor;
|
|
|
|
struct IOProcessorItem : AuLoop::ILoopSourceSubscriber, IIOProcessorItem, AuEnableSharedFromThis<IOProcessorItem>
|
|
{
|
|
IOProcessor *parent;
|
|
|
|
AuSPtr<IIOWaitableItem> item;
|
|
AuSPtr<IIOEventListener> listener;
|
|
|
|
// ILoopSourceSubscriber
|
|
bool OnFinished(const AuSPtr<AuLoop::ILoopSource> &source) override;
|
|
|
|
// IIOProcessorItem
|
|
virtual bool StopWatch() override;
|
|
virtual bool FailWatch() override;
|
|
|
|
// IIOProcessorItem::...
|
|
void InvokeManualTick() override;
|
|
|
|
//
|
|
void IOAlert(bool force);
|
|
};
|
|
|
|
} |