WPILibC++
2020.3.2
WaitForChildren.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) 2011-2019 FIRST. All Rights Reserved. */
3
/* Open Source Software - may be modified and shared by FRC teams. The code */
4
/* must be accompanied by the FIRST BSD license file in the root directory of */
5
/* the project. */
6
/*----------------------------------------------------------------------------*/
7
8
#pragma once
9
10
#include <wpi/Twine.h>
11
12
#include "frc/commands/Command.h"
13
14
namespace
frc
{
15
16
class
WaitForChildren
:
public
Command
{
17
public
:
18
explicit
WaitForChildren
(
double
timeout);
19
WaitForChildren
(
const
wpi::Twine
& name,
double
timeout);
20
virtual
~
WaitForChildren
() =
default
;
21
22
WaitForChildren
(
WaitForChildren
&&) =
default
;
23
WaitForChildren
& operator=(
WaitForChildren
&&) =
default
;
24
25
protected
:
26
virtual
bool
IsFinished
();
27
};
28
29
}
// namespace frc
frc::WaitForChildren::IsFinished
virtual bool IsFinished()
Returns whether this command is finished.
frc::WaitForChildren
Definition:
WaitForChildren.h:16
frc::Command
The Command class is at the very core of the entire command framework.
Definition:
Command.h:49
frc
A class that enforces constraints on the differential drive kinematics.
Definition:
SPIAccelerometerSim.h:16
wpi::Twine
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition:
Twine.h:85
wpilibOldCommands
src
main
native
include
frc
commands
WaitForChildren.h
Generated on Fri Feb 21 2020 08:50:36 for WPILibC++ by
1.8.16