The Robot Application Programming Interface Delegate Project
|
00001 /* 00002 * Copyright (c) 2009 United States Government as represented by the 00003 * Administrator of the National Aeronautics and Space Administration. 00004 * All Rights Reserved. 00005 */ 00006 00007 #include "Message.idl" 00008 00020 module rapid { 00021 00023 struct CommandDef { 00024 00026 String64 name; 00027 00029 boolean abortable; 00030 00032 boolean suspendable; 00033 00038 KeyTypeSequence16 parameters; 00039 }; 00040 00041 typedef sequence<CommandDef,128> CommandDefSequence; 00042 00043 struct SubsystemType { 00044 00046 String32 name; 00047 00048 CommandDefSequence commands; 00049 }; 00050 00051 struct Subsystem { 00052 00054 String32 name; 00055 00057 String32 subsystemTypeName; 00058 }; 00059 00060 typedef sequence<SubsystemType> SubsystemTypeSequence; 00061 typedef sequence<Subsystem> SubsystemSequence; 00062 00067 valuetype CommandConfig : Message { 00068 00070 public SubsystemTypeSequence availableSubsystemTypes; 00071 public SubsystemSequence availableSubsystems; 00072 00073 }; 00074 }; 00075