/*** Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: AuIOProcessorTimers.cpp Date: 2022-6-6 Author: Reece ***/ #include #include #include "AuIOProcessorTimers.hpp" #include "AuIOProcessor.hpp" namespace Aurora::IO { bool IOProcessorTimers::Init(IOProcessor *pParent, AuSPtr pLsTicker) { this->pParent = pParent; this->pLsTicker = pLsTicker; return bool(this->pParent) && bool(pLsTicker); } bool IOProcessorTimers::OnFinished(const AuSPtr &pSource) { this->pParent->ManualTick(); return false; } }