Home
Roadside
Carputer
geoHist
software
FRC
Blog
Now you can download a copy of these docs so you can use them offline!
Download now
Main Page
Related Pages
Classes
Files
File List
Commands
WaitForChildren.cpp
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) FIRST 2011. 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 $(WIND_BASE)/WPILib. */
5
/*----------------------------------------------------------------------------*/
6
7
#include "Commands/WaitForChildren.h"
8
#include "Commands/CommandGroup.h"
9
10
WaitForChildren::WaitForChildren(
double
timeout) :
11
Command
(
"WaitForChildren"
, timeout)
12
{
13
}
14
15
WaitForChildren::WaitForChildren(
const
char
*name,
double
timeout) :
16
Command
(name, timeout)
17
{
18
}
19
20
void
WaitForChildren::Initialize
()
21
{
22
}
23
24
void
WaitForChildren::Execute
()
25
{
26
}
27
28
void
WaitForChildren::End
()
29
{
30
}
31
32
void
WaitForChildren::Interrupted
()
33
{
34
}
35
36
bool
WaitForChildren::IsFinished
()
37
{
38
return
GetGroup
() == NULL ||
GetGroup
()->GetSize() == 0;
39
}
WaitForChildren::Interrupted
virtual void Interrupted()
Definition:
WaitForChildren.cpp:32
WaitForChildren::Initialize
virtual void Initialize()
Definition:
WaitForChildren.cpp:20
Command
Definition:
Command.h:43
WaitForChildren::End
virtual void End()
Definition:
WaitForChildren.cpp:28
WaitForChildren::IsFinished
virtual bool IsFinished()
Definition:
WaitForChildren.cpp:36
WaitForChildren::Execute
virtual void Execute()
Definition:
WaitForChildren.cpp:24
Command::GetGroup
CommandGroup * GetGroup()
Definition:
Command.cpp:413
Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by
1.8.6
© 2006-2009 Dustin Spicuzza. All rights reserved.
Powered by Onnac
I do not condone or encourage graffiti. Please paint responsibly.