00001 00021 #ifndef TASK_INTERFACE_H 00022 #define TASK_INTERFACE_H 00023 00024 #include <string> 00025 using namespace std; 00026 00027 class TaskInterface { 00028 00029 private: 00030 string name; /*< Interface name */ 00031 00032 public: 00033 /* Constructor */ 00034 TaskInterface(string n) : name(n) {} 00035 00036 /* Getters */ 00037 string getName(void) const; 00038 00039 bool operator<(const TaskInterface &ti) const; 00040 bool operator==(const TaskInterface &ti) const; 00041 00042 }; 00043 00044 #endif
1.7.1