view include/TaskManager/HTaskInfo.h @ 350:628cb162be88 draft

add tasts.xml renderer.xml
author admin@mcbk.cr.ie.u-ryukyu.ac.jp
date Fri, 10 Jul 2009 16:41:20 +0900
parents 3fc86ddf5d1c
children
line wrap: on
line source

#ifndef INCLUDED_HTASK_INFO
#define INCLUDED_HTASK_INFO

#include "HTask.h"

class HTaskInfo {
public:
    /* constructor */
    HTaskInfo(void);
    virtual ~HTaskInfo(void);

    /* functions */
    int init(int num);
    HTaskPtr create(int cmd);
    void free(HTaskPtr q);
    virtual int extend_pool(int num);

protected:
    /* variables */
    HTaskPtr htaskPool;
    HTaskPtr freeHTask;

    /* functions */
    void destroy(void);
    
private:
};

#endif