-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConsoleCommand.cs
40 lines (36 loc) · 1.07 KB
/
ConsoleCommand.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Irisys.BlackfinAPI;
namespace BlackfinAPIConsole
{
/// <summary>
/// Command interface
/// </summary>
public interface ConsoleCommand
{
/// <summary>
/// A description of the action of the Command
/// </summary>
/// <returns>A help string</returns>
String getHelp();
/// <summary>
/// The calling name of the Command
/// </summary>
/// <returns></returns>
String getName();
/// <summary>
/// A list of names of arguments to be delivered as Strings upon execution
/// </summary>
/// <returns></returns>
String[] getArguments();
/// <summary>
/// Executes the Command
/// </summary>
/// <param name="bf">he Blackfin object to use</param>
/// <param name="args">A list of string to use as command arguments</param>
/// <returns> if there is a problem in an comms call</returns>
String execute(Blackfin bf, String[] args);
}
}