/** CODE GENERATED BY: setup.py * @file * * NAME: CMCSST_DAILY_Task * * FUNCTION: CMCSST_DAILY 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 CMCSST_DAILY */ #include "CMCSST_DAILY_Task.hpp" #include "Framework_Global_Variables.hpp" #include "SystemConnection.hpp" #include "Logger.hpp" using namespace FW; using namespace FW::FC; extern "C" { void read_cmcsst_daily_interface_(SLONG *); void cmcsst_preprocessing_(SLONG *); } SLONG CMCSST_DAILY_Task::validate() { // Call prerequisites validation here, as needed. return RETURN_SUCCESS; } SLONG CMCSST_DAILY_Task::preProcess() { SLONG Return_Status = RETURN_SUCCESS; cmcsst_preprocessing_(&Return_Status); return Return_Status; } SLONG CMCSST_DAILY_Task::processSegment() { SLONG Return_Status = RETURN_SUCCESS; read_cmcsst_daily_interface_(&Return_Status); return Return_Status; } SLONG CMCSST_DAILY_Task::postProcess() { SLONG Return_Status = RETURN_SUCCESS; // Call post-processing here. return Return_Status; }