CTRE Phoenix C++ 5.33.1
ctre::phoenix::tasking::ILoopable Class Referenceabstract

Interface for loopable objects. More...

#include <ctre/phoenix/tasking/ILoopable.h>

Inheritance diagram for ctre::phoenix::tasking::ILoopable:
ctre::phoenix::tasking::ButtonMonitor ctre::phoenix::tasking::schedulers::ConcurrentScheduler ctre::phoenix::tasking::schedulers::SequentialScheduler

Public Member Functions

virtual ~ILoopable ()
 
virtual void OnStart ()=0
 Function called when object starts. More...
 
virtual void OnLoop ()=0
 Function called every loop. More...
 
virtual bool IsDone ()=0
 
virtual void OnStop ()=0
 Function called when object stops. More...
 

Detailed Description

Interface for loopable objects.

Constructor & Destructor Documentation

◆ ~ILoopable()

virtual ctre::phoenix::tasking::ILoopable::~ILoopable ( )
inlinevirtual

Member Function Documentation

◆ IsDone()

virtual bool ctre::phoenix::tasking::ILoopable::IsDone ( )
pure virtual

◆ OnLoop()

virtual void ctre::phoenix::tasking::ILoopable::OnLoop ( )
pure virtual

◆ OnStart()

virtual void ctre::phoenix::tasking::ILoopable::OnStart ( )
pure virtual

◆ OnStop()

virtual void ctre::phoenix::tasking::ILoopable::OnStop ( )
pure virtual

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