view include/TaskManager/HTaskInfo.h @ 247:0098b5ff0d11

change example
author aaa
date Mon, 01 Jun 2009 19:33:09 +0900
parents 5c194c71eca8
children 7075842aa155
line wrap: on
line source

#ifndef INCLUDED_HTASK_INFO
#define INCLUDED_HTASK_INFO

#ifndef INCLUDED_HTASK
#  include "HTask.h"
#endif

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