Now you can download a copy of these docs so you can use them offline! Download now
WaitForChildren.cpp
00001 /*----------------------------------------------------------------------------*/ 00002 /* Copyright (c) FIRST 2011. All Rights Reserved. */ 00003 /* Open Source Software - may be modified and shared by FRC teams. The code */ 00004 /* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */ 00005 /*----------------------------------------------------------------------------*/ 00006 00007 #include "Commands/WaitForChildren.h" 00008 #include "Commands/CommandGroup.h" 00009 00010 WaitForChildren::WaitForChildren(double timeout) : 00011 Command("WaitForChildren", timeout) 00012 { 00013 } 00014 00015 WaitForChildren::WaitForChildren(const char *name, double timeout) : 00016 Command(name, timeout) 00017 { 00018 } 00019 00020 void WaitForChildren::Initialize() 00021 { 00022 } 00023 00024 void WaitForChildren::Execute() 00025 { 00026 } 00027 00028 void WaitForChildren::End() 00029 { 00030 } 00031 00032 void WaitForChildren::Interrupted() 00033 { 00034 } 00035 00036 bool WaitForChildren::IsFinished() 00037 { 00038 return GetGroup() == NULL || GetGroup()->GetSize() == 0; 00039 }
Generated on Thu Jan 12 2012 22:35:25 for WPILibC++ by
1.7.1