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
8
#include "
okapi/api/coreProsAPI.hpp
"
9
#include "
okapi/api/units/QFrequency.hpp
"
10
#include "
okapi/api/units/QTime.hpp
"
11
12
namespace
okapi
{
13
class
AbstractRate
{
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
QFrequency.hpp
QTime.hpp
okapi::AbstractRate
Definition
abstractRate.hpp:13
okapi::AbstractRate::~AbstractRate
virtual ~AbstractRate()
okapi::AbstractRate::delayUntil
virtual void delayUntil(uint32_t ims)=0
Delay the current task until ims milliseconds have passed.
okapi::AbstractRate::delayUntil
virtual void delayUntil(QTime itime)=0
Delay the current task until itime has passed.
okapi::AbstractRate::delay
virtual void delay(QFrequency ihz)=0
Delay the current task such that it runs at the given frequency.
coreProsAPI.hpp
okapi
Definition
chassisController.hpp:16
include
okapi
api
util
abstractRate.hpp
Generated by
1.9.8