Show / Hide Table of Contents

Interface ICommand

Namespace: WPILib2.Commands
Assembly: WPILibSharp.NewCommands.dll
Syntax
public interface ICommand

Properties

| Improve this Doc View Source

IsFinished

Declaration
bool IsFinished { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

IsScheduled

Declaration
bool IsScheduled { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Name

Declaration
string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Requirements

Declaration
HashSet<ISubsystem> Requirements { get; }
Property Value
Type Description
HashSet<ISubsystem>
| Improve this Doc View Source

RunsWhenDisabled

Declaration
bool RunsWhenDisabled { get; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

Cancel()

Declaration
void Cancel()
| Improve this Doc View Source

End(Boolean)

Declaration
void End(bool interrupted)
Parameters
Type Name Description
Boolean interrupted
| Improve this Doc View Source

Execute()

Declaration
void Execute()
| Improve this Doc View Source

HasRequirement(ISubsystem)

Declaration
bool HasRequirement(ISubsystem requirement)
Parameters
Type Name Description
ISubsystem requirement
Returns
Type Description
Boolean
| Improve this Doc View Source

Initialize()

Declaration
void Initialize()
| Improve this Doc View Source

Schedule(Boolean)

Declaration
void Schedule(bool interruptible = true)
Parameters
Type Name Description
Boolean interruptible

Extension Methods

CommandExtensions.WithTimeout(ICommand, TimeSpan)
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet