00001 00023 #ifndef APP_LOADER_H_ 00024 #define APP_LOADER_H_ 00025 00026 #include <iostream> 00027 #include <ros/ros.h> 00028 00029 #include "app_loader/AppLoad.h" 00030 #include "app_loader/AppUnload.h" 00031 #include "app_loader/RTDestroy.h" 00032 00033 namespace app_loader{ 00034 00035 class AppLoader 00036 { 00037 public: 00038 AppLoader(); 00039 ~AppLoader(); 00040 bool ok(); 00041 private: 00042 std::string app_name_; 00043 std::string app_type_; 00044 bool rtp_manager_destroy_; 00045 ros::ServiceServer rtp_manager_destroy_srv_; 00046 bool rtpManagerDestroyCB(app_loader::RTDestroy::Request &req, app_loader::RTDestroy::Response &resp); 00047 }; 00048 }; 00049 00050 #endif