/** CODE GENERATED BY: setup.py * @file * * NAME: CONVECT_PARAM_Task * * FUNCTION: CONVECT_PARAM Task C++ interface. * * DESCRIPTION: * - PUBLIC MEMBER FUNCTIONS * - SLONG preProcess() * - Postcondition: Task pre-processing complete. * Returns RETURN_SUCCESS if the operation was * successful, otherwise it returns RETURN_FAIL. * - SLONG processSegment() * - Postcondition: Task segment processing complete. * Returns RETURN_SUCCESS if the operation was * successful, otherwise it returns RETURN_FAIL. * - SLONG postProcess() * - Postcondition: Taks post-processing complete. * Returns RETURN_SUCCESS if the operation was * successful, otherwise it returns RETURN_FAIL. * * REFERENCE: * * CALLING SEQUENCE: * - Pre-processing before segment processing * - Segment processing for each segment * - Post-processing after segment processing * * INPUTS: * * OUTPUTS: * * DEPENDENCIES: * * #include "Task.hpp" * * RESTRICTIONS: * * HISTORY: * - Created by setup.py * * @ingroup CONVECT_PARAM */ #include "CONVECT_PARAM_Task.hpp" #include "Framework_Global_Variables.hpp" #include "SystemConnection.hpp" #include "Meta_Data_Helper.hpp" #include "Logger.hpp" using namespace FW; using namespace FW::FC; extern "C" { void convective_parameters_bridge_grid_(SLONG* Return_Status); void convective_parameters_bridge_intp_(SLONG* Return_Status); } SLONG CONVECT_PARAM_Task::validate() { // Call prerequisites validation here, as needed. return RETURN_SUCCESS; } SLONG CONVECT_PARAM_Task::preProcess() { SLONG Return_Status = RETURN_SUCCESS; convective_parameters_bridge_grid_(&Return_Status); const std::string OUT_IDENTIFIER_LBL = "capability/Identifier"; Meta_Data_Helper::getUniqueId(OUT_IDENTIFIER_LBL); return Return_Status; } SLONG CONVECT_PARAM_Task::processSegment() { SLONG Return_Status = RETURN_SUCCESS; convective_parameters_bridge_intp_(&Return_Status); return Return_Status; } SLONG CONVECT_PARAM_Task::postProcess() { SLONG Return_Status = RETURN_SUCCESS; return Return_Status; }