00001 00021 #ifndef SOFTWARE_TASK_H 00022 #define SOFTWARE_TASK_H 00023 00024 #include <string> 00025 using namespace std; 00026 00027 #include "task.h" 00028 #include "processor.h" 00029 00030 class SwTask : public Task { 00031 00032 private: 00033 string type; 00034 00035 public: 00036 /* Constructor */ 00037 SwTask(string n, string t) : Task(n), type(t) {} 00038 SwTask(){} 00039 00040 /* Misc */ 00041 bool fitsProcessor(Processor *p); 00042 00043 }; 00044 00045 #endif
1.7.1