Click or drag to resize

ICommand Interface

Customize MACE to meet your Live-Virtual-Constructive Simulation and Training Requirements.

[This is preliminary documentation and is subject to change.]

Defines the interface for commands to be processed by instantiations of the IPlatform interface

Namespace:  BSI.MACE.AI.Commands
Assembly:  BSILib (in BSILib.dll) Version: 1.2.1.22047 (1.0.0.0)
Syntax
public interface ICommand

The ICommand type exposes the following members.

Properties
  NameDescription
Public propertyCategory
An optionally assigned category string that can be used primarily by the MACE UI to sort and order the list of available commands
Public propertyCommandingEntity
The object that issues the command
Public propertyCommandSpace
Gets the managing object for an area, volume, time or platforms of interest bounding a command.
Public propertyDescription
The text-based description for the command
Public propertyDoctrine
Represents the various Doctrine settings that are to (optionally) be applied while executing this command
Public propertyID
Gets the ID of this command instance.
Public propertyName
The text-based name of the command
Public propertyOwnship
The object that is responsible for executing this command
Public propertyProperties
Gets the properties dialog for this command (if one is available).
Public propertyRefreshRate
Defines the desired execution rate for this command in seconds
Public propertyState
Provides the current state of the command
Public propertyStatusString
Returns a UI-friendly status string for the command
Public propertyType
Provides an indication that MACE can make this Command available for assignment directly from the MACE UI.
Top
Methods
  NameDescription
Public methodAssign
Assigns command to the specified entity (and sends it via command link if applicable).
Public methodExecute
Called periodically to support the execution of the command
Public methodIsAssignable
Provides an indication if the specified Platform can be assigned to this Command instance. Some commands are intended for specific platform types, this method supports that validation.
Public methodIsAssigned
Determines if the command is currently assigned to the specified entity.
Public methodLoad
Load the command data from file.
Public methodSave
Save the command data to an xml file.
Public methodTerminate
Stops execution of the command and removes from the Ownship's command list.
Top
Remarks