blob: ca5f67b17d082fd71ef31515a84efd9d95d1b68b [file] [log] [blame]
Brian Silverman26e4e522015-12-17 01:56:40 -05001/*----------------------------------------------------------------------------*/
Brian Silverman1a675112016-02-20 20:42:49 -05002/* Copyright (c) FIRST 2011-2016. All Rights Reserved. */
Brian Silverman26e4e522015-12-17 01:56:40 -05003/* Open Source Software - may be modified and shared by FRC teams. The code */
Brian Silverman1a675112016-02-20 20:42:49 -05004/* must be accompanied by the FIRST BSD license file in the root directory of */
5/* the project. */
Brian Silverman26e4e522015-12-17 01:56:40 -05006/*----------------------------------------------------------------------------*/
7
8#include "Commands/StartCommand.h"
9
10StartCommand::StartCommand(Command *commandToStart) : Command("StartCommand") {
11 m_commandToFork = commandToStart;
12}
13
14void StartCommand::Initialize() { m_commandToFork->Start(); }
15
16void StartCommand::Execute() {}
17
18void StartCommand::End() {}
19
20void StartCommand::Interrupted() {}
21
22bool StartCommand::IsFinished() { return true; }