RaidZeroLib
Coroutine robot framework for VEX V5
Loading...
Searching...
No Matches
rz::ProsPlatform Class Referencefinal

Platform backed by the PROS clock, scheduler and competition status. More...

#include <ProsPlatform.hpp>

Inheritance diagram for rz::ProsPlatform:
rz::Platform

Public Member Functions

Time now () const override
 Monotonic time.
void sleepUntil (Time time) override
 Blocks until now() >= time. Returns immediately if that time has passed.
CompetitionMode competitionMode () const override
 The mode field control is in right now.
Public Member Functions inherited from rz::Platform
virtual ~Platform ()=default

Detailed Description

Platform backed by the PROS clock, scheduler and competition status.

Member Function Documentation

◆ competitionMode()

CompetitionMode rz::ProsPlatform::competitionMode ( ) const
nodiscardoverridevirtual

The mode field control is in right now.

Implements rz::Platform.

◆ now()

Time rz::ProsPlatform::now ( ) const
nodiscardoverridevirtual

Monotonic time.

Implements rz::Platform.

◆ sleepUntil()

void rz::ProsPlatform::sleepUntil ( Time time)
overridevirtual

Blocks until now() >= time. Returns immediately if that time has passed.

Implements rz::Platform.


The documentation for this class was generated from the following file: