// copyright 2013-2020 BAE Systems, Thales Group, Object Management Group Inc; 2013 Selex ES, DSTO, Atlas Elektronik, EADS Deutschland GmbH #ifndef ORGOMGC4ISERVICE_INTERFACESSUBSYSTEM_SERVICESEXTENDED_SUBSYSTEM_CONTROLPERFORM_OFFLINE_TESTDEFVAR #define ORGOMGC4ISERVICE_INTERFACESSUBSYSTEM_SERVICESEXTENDED_SUBSYSTEM_CONTROLPERFORM_OFFLINE_TESTDEFVAR #include "Requests.idl" #include "Extended_Subsystem_Control.idl" module org { module omg { module c4i { module Service_Interfaces { module Subsystem_Services { module Extended_Subsystem_Control { // Contains the interface for offline testing. module Perform_Offline_Test { // Provides the CMS with subsystem specific information concerning offline test // failures // This is used to instruct the subsystem to perform offline test and return the // results to the CMS. The nature of the offline tests is subsystem specific struct receive_detailed_test_results_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 org::omg::c4i::Domain_Model::Subsystem_Domain::Extended_Subsystem_Control::offline_test_result_details_type offline_test_detailed_results; }; #ifndef DDS_XTYPES #pragma keylist receive_detailed_test_results_type request_id #endif // Informs the CMS whether the offline tests passed, passed partially, or failed. // This is used to instruct the subsystem to perform offline test and return the // results to the CMS. The nature of the offline tests is subsystem specific struct receive_test_results_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 org::omg::c4i::Domain_Model::Subsystem_Domain::Extended_Subsystem_Control::offline_test_result_type test_results; }; #ifndef DDS_XTYPES #pragma keylist receive_test_results_type request_id #endif // Instructs the subsystem to perform the offline tests. struct perform_tests_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 // Allows a particular test to be selected. If null, all tests are performed. org::omg::c4i::Domain_Model::Subsystem_Domain::Extended_Subsystem_Control::offline_test_type test_name; }; #ifndef DDS_XTYPES #pragma keylist perform_tests_type request_id #endif // Asks the subsystem to provide detailed information on the failures. struct request_detailed_test_results_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 }; #ifndef DDS_XTYPES #pragma keylist request_detailed_test_results_type request_id #endif }; }; }; }; }; }; }; #endif