view include/TaskManager/HTaskInfo.h @ 292:2369f477ffbe draft

Document/Cerium_2009.mm
author aaa
date Fri, 05 Jun 2009 18:53:42 +0900
parents 028ffc9c0375
children 3fc86ddf5d1c
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