Click or drag to resize

Command Class

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

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

Provides a default implementation for the base class of all MACE commands.
Inheritance Hierarchy
SystemObject
  BSI.MACE.AI.CommandsCommand

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

The Command type exposes the following members.

Constructors
  NameDescription
Public methodCommand
General use of default constructor
Top
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 platform that issued 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
Gets or sets operation guidelines for command execution.
Public propertyID
Gets the ID of this command instance.
Public propertyName
The text-based name of the command
Public propertyOwnship
The object responsible for executing the 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 methodDispose
Method called by the system to allow cleanup of references and resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Called periodically to support the execution of the command
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitialize
Called by this command while State = ICommand.StateEnum.Pending.
Public methodInitialize(IPhysicalEntity)
Called by the system to initialize this command or pass it to subordinate entities
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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_category
An optionally assigned category string.
Protected field_description
The text-based description for the command.
Protected field_name
Name of this command.
Protected field_properties
Property form for this command.
Protected field_state
State of operation of this command.
Protected field_type
Type of command such as orders or actions where each has different lifetimes.
Protected field_updateCheck
Object to check if time to process the command has passed.
Top
Remarks
This class cannot be instantiated directly.
See Also