Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef ROSCPP_MESSAGE_DESERIALIZER_H
00029 #define ROSCPP_MESSAGE_DESERIALIZER_H
00030
00031 #include "forwards.h"
00032 #include "common.h"
00033
00034 #include <ros/serialized_message.h>
00035
00036 #include <boost/thread/mutex.hpp>
00037 #include <boost/shared_array.hpp>
00038
00039 namespace ros
00040 {
00041
00042 class SubscriptionCallbackHelper;
00043 typedef boost::shared_ptr<SubscriptionCallbackHelper> SubscriptionCallbackHelperPtr;
00044
00045 class ROSCPP_DECL MessageDeserializer
00046 {
00047 public:
00048 MessageDeserializer(const SubscriptionCallbackHelperPtr& helper, const SerializedMessage& m, const boost::shared_ptr<M_string>& connection_header);
00049
00050 VoidConstPtr deserialize();
00051 const boost::shared_ptr<M_string>& getConnectionHeader() { return connection_header_; }
00052
00053 private:
00054 SubscriptionCallbackHelperPtr helper_;
00055 SerializedMessage serialized_message_;
00056 boost::shared_ptr<M_string> connection_header_;
00057
00058 boost::mutex mutex_;
00059 VoidConstPtr msg_;
00060 };
00061 typedef boost::shared_ptr<MessageDeserializer> MessageDeserializerPtr;
00062
00063 }
00064
00065 #endif // ROSCPP_MESSAGE_DESERIALIZER_H
00066
roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Tue Mar 7 2017 03:44:47