// copyright 2013-2020 BAE Systems, Thales Group, Object Management Group Inc; 2013 Selex ES, DSTO, Atlas Elektronik, EADS Deutschland GmbH #ifndef ORGOMGC4ISERVICE_INTERFACESSUBSYSTEM_SERVICESSIMULATION_SUPPORTCONTROL_FAULT_SCRIPTSDEFVAR #define ORGOMGC4ISERVICE_INTERFACESSUBSYSTEM_SERVICESSIMULATION_SUPPORTCONTROL_FAULT_SCRIPTSDEFVAR #include "Requests.idl" #include "Simulation_Support.idl" module org { module omg { module c4i { module Service_Interfaces { module Subsystem_Services { module Simulation_Support { module Control_Fault_Scripts { // Causes the subsystem to indicate the faults specified by the given fault scripts // when appropriately stimulated. The faults remain in place until they are cleared // either by a call to clear_fault or by an action on another interface that would // clear the equivalent non-simulated fault. struct enable_fault_script_type { #ifdef DDS_XTYPES @Key org::omg::c4i::Domain_Model::Common_Types::Requests::request_id_type request_id; #else org::omg::c4i::Domain_Model::Common_Types::Requests::request_id_type request_id; #endif // The script ids to be enabled org::omg::c4i::Domain_Model::Subsystem_Domain::Simulation_Support::fault_script_ids_type scripts; }; #ifndef DDS_XTYPES #pragma keylist enable_fault_script_type request_id #endif // Clears the faults defined by the given fault scripts. struct clear_faults_type { #ifdef DDS_XTYPES @Key org::omg::c4i::Domain_Model::Common_Types::Requests::request_id_type request_id; #else org::omg::c4i::Domain_Model::Common_Types::Requests::request_id_type request_id; #endif // The script ids to be cleared org::omg::c4i::Domain_Model::Subsystem_Domain::Simulation_Support::fault_script_ids_type fault_scripts; }; #ifndef DDS_XTYPES #pragma keylist clear_faults_type request_id #endif }; }; }; }; }; }; }; #endif