Go to the documentation of this file.00001
00002 #ifndef INDUSTRIAL_MSGS_SERVICE_SETREMOTELOGGERLEVEL_H
00003 #define INDUSTRIAL_MSGS_SERVICE_SETREMOTELOGGERLEVEL_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "ros/service_traits.h"
00018
00019 #include "industrial_msgs/DebugLevel.h"
00020
00021
00022 #include "industrial_msgs/ServiceReturnCode.h"
00023
00024 namespace industrial_msgs
00025 {
00026 template <class ContainerAllocator>
00027 struct SetRemoteLoggerLevelRequest_ {
00028 typedef SetRemoteLoggerLevelRequest_<ContainerAllocator> Type;
00029
00030 SetRemoteLoggerLevelRequest_()
00031 : level()
00032 {
00033 }
00034
00035 SetRemoteLoggerLevelRequest_(const ContainerAllocator& _alloc)
00036 : level(_alloc)
00037 {
00038 }
00039
00040 typedef ::industrial_msgs::DebugLevel_<ContainerAllocator> _level_type;
00041 ::industrial_msgs::DebugLevel_<ContainerAllocator> level;
00042
00043
00044 typedef boost::shared_ptr< ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::industrial_msgs::SetRemoteLoggerLevelRequest_<std::allocator<void> > SetRemoteLoggerLevelRequest;
00049
00050 typedef boost::shared_ptr< ::industrial_msgs::SetRemoteLoggerLevelRequest> SetRemoteLoggerLevelRequestPtr;
00051 typedef boost::shared_ptr< ::industrial_msgs::SetRemoteLoggerLevelRequest const> SetRemoteLoggerLevelRequestConstPtr;
00052
00053
00054
00055 template <class ContainerAllocator>
00056 struct SetRemoteLoggerLevelResponse_ {
00057 typedef SetRemoteLoggerLevelResponse_<ContainerAllocator> Type;
00058
00059 SetRemoteLoggerLevelResponse_()
00060 : code()
00061 {
00062 }
00063
00064 SetRemoteLoggerLevelResponse_(const ContainerAllocator& _alloc)
00065 : code(_alloc)
00066 {
00067 }
00068
00069 typedef ::industrial_msgs::ServiceReturnCode_<ContainerAllocator> _code_type;
00070 ::industrial_msgs::ServiceReturnCode_<ContainerAllocator> code;
00071
00072
00073 typedef boost::shared_ptr< ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> > Ptr;
00074 typedef boost::shared_ptr< ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> const> ConstPtr;
00075 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00076 };
00077 typedef ::industrial_msgs::SetRemoteLoggerLevelResponse_<std::allocator<void> > SetRemoteLoggerLevelResponse;
00078
00079 typedef boost::shared_ptr< ::industrial_msgs::SetRemoteLoggerLevelResponse> SetRemoteLoggerLevelResponsePtr;
00080 typedef boost::shared_ptr< ::industrial_msgs::SetRemoteLoggerLevelResponse const> SetRemoteLoggerLevelResponseConstPtr;
00081
00082
00083 struct SetRemoteLoggerLevel
00084 {
00085
00086 typedef SetRemoteLoggerLevelRequest Request;
00087 typedef SetRemoteLoggerLevelResponse Response;
00088 Request request;
00089 Response response;
00090
00091 typedef Request RequestType;
00092 typedef Response ResponseType;
00093 };
00094 }
00095
00096 namespace ros
00097 {
00098 namespace message_traits
00099 {
00100 template<class ContainerAllocator> struct IsMessage< ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> > : public TrueType {};
00101 template<class ContainerAllocator> struct IsMessage< ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> const> : public TrueType {};
00102 template<class ContainerAllocator>
00103 struct MD5Sum< ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> > {
00104 static const char* value()
00105 {
00106 return "3a0089a136293a269fa1a44788ce9777";
00107 }
00108
00109 static const char* value(const ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00110 static const uint64_t static_value1 = 0x3a0089a136293a26ULL;
00111 static const uint64_t static_value2 = 0x9fa1a44788ce9777ULL;
00112 };
00113
00114 template<class ContainerAllocator>
00115 struct DataType< ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> > {
00116 static const char* value()
00117 {
00118 return "industrial_msgs/SetRemoteLoggerLevelRequest";
00119 }
00120
00121 static const char* value(const ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00122 };
00123
00124 template<class ContainerAllocator>
00125 struct Definition< ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "\n\
00129 \n\
00130 \n\
00131 \n\
00132 \n\
00133 industrial_msgs/DebugLevel level\n\
00134 \n\
00135 ================================================================================\n\
00136 MSG: industrial_msgs/DebugLevel\n\
00137 # Debug level message enumeration. This may replicate some functionality that\n\
00138 # alreay exists in the ROS logger.\n\
00139 # TODO: Get more information on the ROS Logger.\n\
00140 uint8 val\n\
00141 \n\
00142 uint8 DEBUG = 5\n\
00143 uint8 INFO = 4\n\
00144 uint8 WARN = 3\n\
00145 uint8 ERROR = 2\n\
00146 uint8 FATAL = 1\n\
00147 uint8 NONE = 0 \n\
00148 \n\
00149 ";
00150 }
00151
00152 static const char* value(const ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00153 };
00154
00155 template<class ContainerAllocator> struct IsFixedSize< ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> > : public TrueType {};
00156 }
00157 }
00158
00159
00160 namespace ros
00161 {
00162 namespace message_traits
00163 {
00164 template<class ContainerAllocator> struct IsMessage< ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> > : public TrueType {};
00165 template<class ContainerAllocator> struct IsMessage< ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> const> : public TrueType {};
00166 template<class ContainerAllocator>
00167 struct MD5Sum< ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> > {
00168 static const char* value()
00169 {
00170 return "50b1f38f75f5677e5692f3b3e7e1ea48";
00171 }
00172
00173 static const char* value(const ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00174 static const uint64_t static_value1 = 0x50b1f38f75f5677eULL;
00175 static const uint64_t static_value2 = 0x5692f3b3e7e1ea48ULL;
00176 };
00177
00178 template<class ContainerAllocator>
00179 struct DataType< ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> > {
00180 static const char* value()
00181 {
00182 return "industrial_msgs/SetRemoteLoggerLevelResponse";
00183 }
00184
00185 static const char* value(const ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00186 };
00187
00188 template<class ContainerAllocator>
00189 struct Definition< ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> > {
00190 static const char* value()
00191 {
00192 return "industrial_msgs/ServiceReturnCode code\n\
00193 \n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: industrial_msgs/ServiceReturnCode\n\
00197 # Service return codes for simple requests. All ROS-Industrial service\n\
00198 # replies are required to have a return code indicating success or failure\n\
00199 # Specific return codes for different failure should be negative.\n\
00200 int8 val\n\
00201 \n\
00202 int8 SUCCESS = 1\n\
00203 int8 FAILURE = -1\n\
00204 \n\
00205 \n\
00206 ";
00207 }
00208
00209 static const char* value(const ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00210 };
00211
00212 template<class ContainerAllocator> struct IsFixedSize< ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> > : public TrueType {};
00213 }
00214 }
00215
00216 namespace ros
00217 {
00218 namespace serialization
00219 {
00220
00221 template<class ContainerAllocator> struct Serializer< ::industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> >
00222 {
00223 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00224 {
00225 stream.next(m.level);
00226 }
00227
00228 ROS_DECLARE_ALLINONE_SERIALIZER;
00229 };
00230 }
00231 }
00232
00233
00234 namespace ros
00235 {
00236 namespace serialization
00237 {
00238
00239 template<class ContainerAllocator> struct Serializer< ::industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> >
00240 {
00241 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00242 {
00243 stream.next(m.code);
00244 }
00245
00246 ROS_DECLARE_ALLINONE_SERIALIZER;
00247 };
00248 }
00249 }
00250
00251 namespace ros
00252 {
00253 namespace service_traits
00254 {
00255 template<>
00256 struct MD5Sum<industrial_msgs::SetRemoteLoggerLevel> {
00257 static const char* value()
00258 {
00259 return "4ae8385cb830c0d46129570c3394af54";
00260 }
00261
00262 static const char* value(const industrial_msgs::SetRemoteLoggerLevel&) { return value(); }
00263 };
00264
00265 template<>
00266 struct DataType<industrial_msgs::SetRemoteLoggerLevel> {
00267 static const char* value()
00268 {
00269 return "industrial_msgs/SetRemoteLoggerLevel";
00270 }
00271
00272 static const char* value(const industrial_msgs::SetRemoteLoggerLevel&) { return value(); }
00273 };
00274
00275 template<class ContainerAllocator>
00276 struct MD5Sum<industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> > {
00277 static const char* value()
00278 {
00279 return "4ae8385cb830c0d46129570c3394af54";
00280 }
00281
00282 static const char* value(const industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00283 };
00284
00285 template<class ContainerAllocator>
00286 struct DataType<industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> > {
00287 static const char* value()
00288 {
00289 return "industrial_msgs/SetRemoteLoggerLevel";
00290 }
00291
00292 static const char* value(const industrial_msgs::SetRemoteLoggerLevelRequest_<ContainerAllocator> &) { return value(); }
00293 };
00294
00295 template<class ContainerAllocator>
00296 struct MD5Sum<industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> > {
00297 static const char* value()
00298 {
00299 return "4ae8385cb830c0d46129570c3394af54";
00300 }
00301
00302 static const char* value(const industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00303 };
00304
00305 template<class ContainerAllocator>
00306 struct DataType<industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> > {
00307 static const char* value()
00308 {
00309 return "industrial_msgs/SetRemoteLoggerLevel";
00310 }
00311
00312 static const char* value(const industrial_msgs::SetRemoteLoggerLevelResponse_<ContainerAllocator> &) { return value(); }
00313 };
00314
00315 }
00316 }
00317
00318 #endif // INDUSTRIAL_MSGS_SERVICE_SETREMOTELOGGERLEVEL_H
00319