LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
abstractRate.hpp
Go to the documentation of this file.
1/*
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 */
6#pragma once
7
11
12namespace okapi {
14 public:
15 virtual ~AbstractRate();
16
23 virtual void delay(QFrequency ihz) = 0;
24
31 virtual void delayUntil(QTime itime) = 0;
32
39 virtual void delayUntil(uint32_t ims) = 0;
40};
41} // namespace okapi
virtual ~AbstractRate()
virtual void delayUntil(uint32_t ims)=0
Delay the current task until ims milliseconds have passed.
virtual void delayUntil(QTime itime)=0
Delay the current task until itime has passed.
virtual void delay(QFrequency ihz)=0
Delay the current task such that it runs at the given frequency.