00001 /* 00002 * This file: p_helloworld.cpp, is part of the Astrog software library 00003 * that uses the graphics processing unit (GPU) to accelerate 00004 * astronomy calculations. 00005 * 00006 * Copyright (C) 2007 C. J. Harris, B. J. Mort 00007 * 00008 * This library is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public 00010 * License as published by the Free Software Foundation; either 00011 * version 2.1 of the License, or (at your option) any later version. 00012 * 00013 * This library is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public 00019 * License along with this library; if not, write to the Free Software 00020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00021 * 02110-1301 USA 00022 */ 00023 00029 #include "libastrog_p_helloworld.h" 00030 00031 namespace astrog { 00032 00033 PipelineHelloWorld::PipelineHelloWorld() 00034 { 00035 routine_helloworld = new RoutineHelloWorld(); 00036 } 00037 00038 PipelineHelloWorld::~PipelineHelloWorld() 00039 { 00040 delete routine_helloworld; 00041 } 00042 00043 int PipelineHelloWorld::execute() 00044 { 00045 int err = routine_helloworld->execute(); 00046 return err; 00047 } 00048 00049 } // end namespace