rosparam.h
Go to the documentation of this file.
00001 #ifndef __RTT_ROSPARAM_ROSPARAM_H
00002 #define __RTT_ROSPARAM_ROSPARAM_H
00003 
00004 #include <rtt/RTT.hpp>
00005 #include <rtt/Property.hpp>
00006 
00007 namespace rtt_rosparam {
00008 
00009   class ROSParam : public RTT::ServiceRequester
00010   {
00011 
00012   public:
00013     ROSParam(RTT::TaskContext *owner) :
00014       RTT::ServiceRequester("rosparam",owner),
00015       getAllRelative("getAllRelative"),
00016       getAllAbsolute("getAllAbsolute"),
00017       getAllPrivate("getAllPrivate"),
00018       getAllComponentPrivate("getAllComponentPrivate"),
00019       getAll("getAll"),
00020       setAllRelative("setAllRelative"),
00021       setAllAbsolute("setAllAbsolute"),
00022       setAllPrivate("setAllPrivate"),
00023       setAllComponentPrivate("setAllComponentPrivate"),
00024       setAll("setAll"),
00025       get("get"),
00026       getParam("getParam"),
00027       getRelative("getRelative"),
00028       getAbsolute("getAbsolute"),
00029       getPrivate("getPrivate"),
00030       getComponentPrivate("getComponentPrivate"),
00031       set("set"),
00032       setParam("setParam"),
00033       setRelative("setRelative"),
00034       setAbsolute("setAbsolute"),
00035       setPrivate("setPrivate"),
00036       setComponentPrivate("setComponentPrivate")
00037     {
00038       this->addOperationCaller(getAllRelative);
00039       this->addOperationCaller(getAllAbsolute);
00040       this->addOperationCaller(getAllPrivate);
00041       this->addOperationCaller(getAllComponentPrivate);
00042       this->addOperationCaller(getAll);
00043 
00044       this->addOperationCaller(setAllRelative);
00045       this->addOperationCaller(setAllAbsolute);
00046       this->addOperationCaller(setAllPrivate);
00047       this->addOperationCaller(setAllComponentPrivate);
00048       this->addOperationCaller(setAll);
00049 
00050       this->addOperationCaller(get);
00051       this->addOperationCaller(getParam);
00052       this->addOperationCaller(getRelative);
00053       this->addOperationCaller(getAbsolute);
00054       this->addOperationCaller(getPrivate);
00055       this->addOperationCaller(getComponentPrivate);
00056 
00057       this->addOperationCaller(set);
00058       this->addOperationCaller(setParam);
00059       this->addOperationCaller(setRelative);
00060       this->addOperationCaller(setAbsolute);
00061       this->addOperationCaller(setPrivate);
00062       this->addOperationCaller(setComponentPrivate);
00063     }
00064 
00065     typedef enum  {
00066       RELATIVE, 
00067       ABSOLUTE, 
00068       PRIVATE,  
00069       COMPONENT 
00070     }ResolutionPolicy;
00071 
00072     RTT::OperationCaller<bool(void)> getAllRelative;
00073     RTT::OperationCaller<bool(void)> getAllAbsolute;
00074     RTT::OperationCaller<bool(void)> getAllPrivate;
00075     RTT::OperationCaller<bool(void)> getAllComponentPrivate;
00076     RTT::OperationCaller<bool(void)> getAll;
00077     RTT::OperationCaller<bool(void)> setAllRelative;
00078     RTT::OperationCaller<bool(void)> setAllAbsolute;
00079     RTT::OperationCaller<bool(void)> setAllPrivate;
00080     RTT::OperationCaller<bool(void)> setAllComponentPrivate;
00081     RTT::OperationCaller<bool(void)> setAll;
00082 
00083     RTT::OperationCaller<bool(const std::string &, const unsigned int)> get;
00084     RTT::OperationCaller<bool(const std::string &, const std::string &)> getParam;
00085     RTT::OperationCaller<bool(const std::string &)> getRelative;
00086     RTT::OperationCaller<bool(const std::string &)> getAbsolute;
00087     RTT::OperationCaller<bool(const std::string &)> getPrivate;
00088     RTT::OperationCaller<bool(const std::string &)> getComponentPrivate;
00089 
00090     RTT::OperationCaller<bool(const std::string &, const unsigned int)> set;
00091     RTT::OperationCaller<bool(const std::string &, const std::string &)> setParam;
00092     RTT::OperationCaller<bool(const std::string &)> setRelative;
00093     RTT::OperationCaller<bool(const std::string &)> setAbsolute;
00094     RTT::OperationCaller<bool(const std::string &)> setPrivate;
00095     RTT::OperationCaller<bool(const std::string &)> setComponentPrivate;
00096   };
00097 }
00098 
00099 #endif // ifndef __RTT_ROSPARAM_ROSPARAM_H


rtt_rosparam
Author(s): Ruben Smits
autogenerated on Thu Jun 6 2019 18:06:14