00001 00025 #ifndef _DEPENDENCIES_H_ 00026 #define _DEPENDENCIES_H_ 00027 00028 #include <string> 00029 00030 #include <ros/ros.h> 00031 00032 #include <predicate_manager/common_defs.h> 00033 00034 namespace predicate_manager 00035 { 00044 class Dependencies 00045 { 00046 public: 00048 Dependencies(); 00049 00051 Dependencies add ( const std::string& name ); 00057 Dependencies add ( const int pm_id, const std::string& name ); 00059 Dependencies add ( const NameID& dep_id ); 00060 00061 NameIDSet dependency_set_; 00062 00063 private: 00064 ros::NodeHandle nh_; 00065 00066 int pm_id_; 00067 }; 00068 } 00069 00070 #endif