Mercurial > hg > Members > kono > Cerium
view include/TaskManager/HTaskInfo.h @ 260:af07173af3f4
change example
author | e065746@localhost.localdomain |
---|---|
date | Wed, 03 Jun 2009 20:36:18 +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