image_render_task.h

Go to the documentation of this file.
00001 /*
00002  * File Name: image_render_task.h
00003  */
00004 
00005 /*
00006  * This file is part of uds-plugin-images.
00007  *
00008  * uds-plugin-images is free software: you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation, either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * uds-plugin-images 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
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program. If not, see <http://www.gnu.org/licenses/>.
00020  */
00021 
00022 /**
00023  * Copyright (C) 2008 iRex Technologies B.V.
00024  * All rights reserved.
00025  */
00026 
00027 #ifndef _IMAGE_RENDER_TASK_H_
00028 #define _IMAGE_RENDER_TASK_H_
00029 
00030 #include "thread.h"
00031 #include "image_page.h" 
00032 #include "images_renderer.h"
00033 
00034 namespace images
00035 {
00036 
00037 class ImageRenderTask : public common::Task
00038 {
00039     public:
00040         ImageRenderTask(const std::string & page_anchor, 
00041                         const ImagePageAttrs & attributes, 
00042                         int reference_id,
00043                         ImagesRenderer *p_renderer,
00044                         void * p_user_data);
00045 
00046         virtual ~ImageRenderTask(void);
00047     public:
00048         virtual void execute(void);
00049     private:
00050         std::string      anchor;
00051         ImagePageAttrs   attrs;
00052         int              ref_id;
00053         ImagesRenderer * renderer;
00054         void           * user_data;
00055 };
00056 
00057 };
00058 
00059 #endif //_IMAGE_RENDER_TASK_H_
00060  
00061 
Generated by  doxygen 1.6.2-20100208