![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2003 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: eventHandlers.h,v $ $Revision: 1.87 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00011 00016 00025 00026 #ifndef EVENTHANDLERS_H_ 00027 #define EVENTHANDLERS_H_ 00028 00029 enum DtEventHandlerType 00030 { 00031 DtNoHandlerAvailable = -1, 00032 DtDisplaceHandlerType = 1, 00033 DtCreateInsetHandlerType = 2, 00034 DtDragDropHandlerType = 3, 00035 DtMapAreaSelectionHandlerType = 4, 00036 DtDeleteHandlerType = 5, 00037 DtNavigationHandlerType = 6, 00038 DtHelpHandlerType = 7, 00039 DtFullScreenHandlerType = 8, 00040 00041 DtOverlayLayersHandlerEventType = 10, 00042 DtOverlayPaletteHandlerEventType = 11, 00043 DtOverlaySaveHandlerType = 12, 00044 DtOverlayLoadHandlerType = 13, 00045 DtOverlayPublisherHandlerType = 14, 00046 DtOverlayGroupingHandlerType = 15, 00047 DtSelectionGroupHandlerType = 16, 00048 DtSelectionGroupsSaveHandlerType = 17, 00049 DtSelectionGroupsLoadHandlerType = 18, 00050 00051 DtCircleResizingHandlerType = 20, 00052 00053 DtIntervisibilityOptionsHandlerType = 21, 00054 00055 DtDisplayOptionsHandlerType = 22, 00056 DtFrameRateMonitorHandlerType = 23, 00057 DtAboutBoxHandlerType = 24, 00058 DtTerrainViewOptionsHandlerType = 25, 00059 DtTerrainPaperMapHandlerType = 26, 00060 DtTerrainFeaturesHandlerType = 27, 00061 DtTerrainProfileHandlerType = 29, 00062 DtEmitterBeamOptionsHandlerType = 30, 00063 DtTerrainInformationHandlerType = 31, 00064 DtPvdLOSFilterHandlerType = 32, 00065 DtPvdRemoteControllerHandlerType = 33, 00066 DtTransmitterOptionsHandlerType = 34, 00067 DtPuffOptionsHandlerType = 35, 00068 DtRangeRingsOptionsHandlerType = 36, 00069 DtSpotReportOptionsHandlerType = 37, 00070 DtPluginDisplayHandlerType = 38, 00071 DtTacticalSmokeOptionsHandlerType = 39, 00072 00073 DtVertexEditorHandlerType = 40, 00074 DtSymbolDisplayOptionsHandlerType = 45, 00075 00076 DtCompassHandlerType = 46, 00077 DtWeatherInfoHandlerType = 47, 00078 DtAggregateOptionsHandlerType = 48, 00079 00080 DtEntityCreateHandlerType = 100, 00081 DtEntityActionType = 101, 00082 DtEntityViewPlanType = 102, 00083 DtEntityEditPlanType = 103, 00084 DtEditHandlerType = 104, 00085 DtEntityInfoHandlerType = 106, 00086 DtEchelonViewHandlerType = 107, 00087 DtReaggregationHandlerType = 108, 00088 DtAggregateInfoHandlerType = 109, 00089 DtMonitorResourcesHandlerType = 110, 00090 DtTransmitterInfoHandlerType = 111, 00091 DtPuffInfoHandlerType = 112, 00092 DtEnvironmentalInfoHandlerType = 114, 00093 DtEmitterBeamInfoHandlerType = 115, 00094 DtEmbarkationHandlerType = 116, 00095 DtSensorInfoHandlerType = 117, 00096 DtUndoHandlerType = 118, 00097 DtObjectConsoleHandlerType = 119, 00098 DtSpotReportHandlerType = 120, 00099 DtSpotReportInfoHandlerType = 121, 00100 DtAggregateAsHandlerType = 122, 00101 DtVrfRadioMessageReceivedHandlerType = 123, 00102 DtCopyHandlerType = 124, 00103 DtPasteHandlerType = 125, 00104 DtBackendConsoleHandlerType = 126, 00105 DtTaskInfoHandlerType = 127, 00106 00107 DtPointCreateHandlerType = 130, 00108 DtAreaCreateHandlerType = 140, 00109 DtLineCreateHandlerType = 150, 00110 00111 DtOpenDatabaseHandlerType = 200, 00112 DtCloseDatabaseHandlerType = 201, 00113 DtSaveDatabaseHandlerType = 202, 00114 DtPrintHandlerType = 203, 00115 DtSaveMapAreaHandlerType = 204, 00116 DtLoadSymbolMapHandlerType = 205, 00117 DtLoadCreateMenuHandlerType = 206, 00118 DtTerrainDatabaseInformationHandlerType= 207, 00119 DtExportDatabaseHandlerType = 209, 00120 DtStealthHandlerType = 220, 00121 DtLoadModelSetHandlerType = 221, 00122 DtLoadOverlayMenuHandlerType = 222, 00123 00124 DtNewScenarioHandlerType = 230, 00125 DtCloseScenarioHandlerType = 231, 00126 DtSaveScenarioHandlerType = 232, 00127 DtLoadScenarioHandlerType = 233, 00128 DtSimulationHandlerType = 234, 00129 DtCheckpointScenarioHandlerType = 235, 00130 DtBatchScenarioHandlerType = 236, 00131 DtSaveParameterDbHandlerType = 237, 00132 DtConfigureSpatialSubdivisionHandlerType = 238, 00133 00134 DtEmbarkOnHandlerType = 240, 00135 DtEditVectorFeatureHandlerType = 241, 00136 DtAttachObjectHandlerType = 242, 00137 00138 DtGlobalPlansHandlerType = 245, 00139 DtTimeManagementHandlerType = 246, 00140 00141 DtEditToolbarsHandlerType = 250, 00142 DtIndirectArtilleryEditHandlerType = 251, 00143 DtIndirectArtilleryManagerHandlerType = 252, 00144 DtHostilityMatrixHandlerType = 253, 00145 DtForceHostilityHandlerType = 254, 00146 DtAggregateDisaggregateHandlerType = 255, 00147 DtSessionHandlerType = 256, 00148 00149 DtPerformanceOptionsHandlerType = 260, 00150 DtCommModelSettingsHandlerType = 261, 00151 00152 DtUserHandlerBaseType = 1000 00153 }; 00154 00155 #define DtNewEventHandlerType(newType, value) const DtEventHandlerType newType = (DtEventHandlerType)((int)DtUserHandlerBaseType + value); 00156 00157 enum DtUserDefinedType 00158 { 00162 DtNoUserAction = -1, 00163 00164 DtNotifyCleanup = 1, 00165 00166 DtDelete = 1001, 00167 00168 DtDisplayInfo = 1100, 00169 00170 DtNavigationResetToGlobalView = 2001, 00171 DtPanNorth = 2002, 00172 DtPanNorthEast = 2003, 00173 DtPanEast = 2004, 00174 DtPanSouthEast = 2005, 00175 DtPanSouth = 2006, 00176 DtPanSouthWest = 2007, 00177 DtPanWest = 2008, 00178 DtPanNorthWest = 2009, 00179 DtZoomIn = 2010, 00180 DtZoomOut = 2011, 00181 DtZoomToExtents = 2013, 00182 DtTrackSelection = 2020, 00183 DtCenterSelection = 2021, 00184 DtClearTracking = 2022, 00185 DtSelectNextEntity = 2023, 00186 DtSelectPreviousEntity = 2024, 00187 DtSelectNextEnvironmental = 2025, 00188 DtSelectPreviousEnvironmental = 2026, 00189 DtSelectNextGroup = 2027, 00190 DtSelectPreviousGroup = 2028, 00191 00192 DtEntityActionSkipTask = 3001, 00193 DtEntityActionAbandonPlan = 3002, 00194 DtSendTaskMessage = 3003, 00195 DtSendSetMessage = 3004, 00196 DtAggregateAs = 3005, 00197 DtEntityEnableJoystick = 3006, 00198 DtEntityActionRestartPlan = 3007, 00199 DtIndirectArtilleryManager = 3008, 00200 00201 DtExpandSelectedAggregate = 5000, 00202 DtCollapseSelectedAggregate = 5001, 00203 00204 DtCloseDatabase = 6100, 00205 DtSaveDatabase = 6101, 00206 DtOpenDatabase = 6102, 00207 DtLoadOverlayFile = 6103, 00208 DtLoadSelectionGroupsFile = 6104, 00209 00210 DtStealthDetach = 5202, 00211 DtRotateClockwise = 5203, 00212 DtRotateCounterClockwise = 5204, 00213 DtRaiseStealth = 5205, 00214 DtLowerStealth = 5206, 00215 DtPitchStealthUp = 5207, 00216 DtPitchStealthDown = 5208, 00217 DtRollClockwise = 5210, 00218 DtRollCounterClockwise = 5211, 00219 DtStealthForward = 5212, 00220 DtStealthBackward = 5213, 00221 DtStealthLeft = 5214, 00222 DtStealthRight = 5215, 00223 DtStealthReset = 5216, 00224 DtStealthIncreaseGain = 5219, 00225 DtStealthDecreaseGain = 5220, 00226 DtStealthAttachKeepMode = 5221, 00227 DtUserStealthAttachModeBase = 5300, 00228 DtStealthAttachPivot = 5398, 00229 DtUserStealthAttachModeMax = 5399, 00230 00231 DtShowHelp = 6300, 00232 DtLaunchWebPage = 6301, 00233 DtBrowserHandlerAction_MAX = 6320, 00234 00235 DtNewScenario = 7200, 00236 DtWaitForNew = 7201, 00237 00238 DtCloseScenario = 7210, 00239 DtWaitForClose = 7211, 00240 00241 DtSaveScenario = 7220, 00242 DtWaitForSave = 7221, 00243 DtSaveParameterDb = 7222, 00244 00245 DtLoadScenario = 7240, 00246 DtWaitForLoad = 7241, 00247 00248 DtBatchRun = 7250, 00249 DtBatchLoad = 7251, 00250 DtBatchClose = 7252, 00251 00252 DtResetCheckpointing = 7280, 00253 DtDisablePeriodicCheckpointing = 7281, 00254 DtEnablePeriodicCheckpointing = 7282, 00255 DtCheckpointScenario = 7283, 00256 00258 DtResetCheckpointingAndRestart = 7284, 00259 00260 DtSimulationRun = 7600, 00261 DtSimulationRewind = 7601, 00262 DtSimulationPause = 7602, 00263 DtSimulationSetTimeMultiplier = 7603, 00264 DtSimulationStep = 7604, 00265 00266 DtReorganizeToForce = 7950, 00267 DtAddToForce = 7951, 00268 DtDisembarkObjectsAction = 7960, 00269 DtEmbarkObjectsAction = 7961, 00270 00271 DtOverlayActiveLayerChanged = 8000, 00272 DtOverlayToggleView = 8001, 00273 00274 DtClearAllMonitoredResources = 8100, 00275 DtEnableResourceMonitor = 8101, 00276 DtDisableResourceMonitor = 8102, 00277 00278 DtPvdSendReflectExtent = 8200, 00279 DtPvdSendOpenDatabase = 8201, 00280 00281 DtUserDefinedMax = 10000 00282 }; 00283 00284 #define DtNewUserDefinedType(newType, value) const DtUserDefinedType newType = (DtUserDefinedType)((int)DtUserDefinedMax + value); 00285 00286 #endif