Loading [MathJax]/extensions/tex2jax.js
CTRE Phoenix C++
5.35.1
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
Enumerations
a
c
d
e
f
g
i
l
m
n
p
r
s
t
v
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Enumerations
Enumerator
a
b
c
f
g
i
l
m
n
o
p
q
r
s
t
u
Related Symbols
Files
File List
File Members
All
c
d
g
i
j
k
l
m
p
s
t
w
Functions
c
j
p
t
Variables
Macros
▼
CTRE Phoenix C++
Deprecated List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
ctre
▼
phoenix
►
led
►
motion
►
motorcontrol
►
platform
►
sensors
►
signals
▼
tasking
►
Schedulers
►
ILoopable.h
►
IProcessable.h
►
unmanaged
►
CANBusAddressable.h
►
CANifier.h
►
CTRLogger.h
►
CustomParamConfiguration.h
►
HsvToRgb.h
►
LinearInterpolation.h
►
RCRadio3Ch.h
►
Stopwatch.h
►
Utilities.h
►
Phoenix.h
►
ctre
►
ctre
►
ctre
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
ILoopable.h
Go to the documentation of this file.
1
/* Copyright (C) Cross The Road Electronics 2024 */
2
#pragma once
3
4
namespace
ctre
{
namespace
phoenix {
namespace
tasking {
5
6
/**
7
* Interface for loopable objects
8
*/
9
class
ILoopable
{
10
public
:
11
virtual
~ILoopable
(){}
12
/**
13
* Function called when object starts
14
*/
15
virtual
void
OnStart
() = 0;
16
/**
17
* Function called every loop
18
*/
19
virtual
void
OnLoop
() = 0;
20
/**
21
* @return true if object is done
22
*/
23
virtual
bool
IsDone
() = 0;
24
/**
25
* Function called when object stops
26
*/
27
virtual
void
OnStop
() = 0;
28
};
9
class
ILoopable
{
…
};
29
}}}
ctre::phoenix::tasking::ILoopable
Interface for loopable objects.
Definition
ILoopable.h:9
ctre::phoenix::tasking::ILoopable::OnLoop
virtual void OnLoop()=0
Function called every loop.
ctre::phoenix::tasking::ILoopable::OnStop
virtual void OnStop()=0
Function called when object stops.
ctre::phoenix::tasking::ILoopable::~ILoopable
virtual ~ILoopable()
Definition
ILoopable.h:11
ctre::phoenix::tasking::ILoopable::IsDone
virtual bool IsDone()=0
ctre::phoenix::tasking::ILoopable::OnStart
virtual void OnStart()=0
Function called when object starts.
ctre
WPI Compliant CANcoder class.
Definition
CANCoderStatusFrame.h:4
ctre
phoenix
tasking
ILoopable.h
Generated by
1.12.0