#include <gtest/gtest.h>
#include <ros/ros.h>
Go to the source code of this file.
Classes | |
struct | IncomingMsg |
struct | OutgoingMsg |
struct | ros::serialization::PreDeserialize< IncomingMsg > |
struct | ros::serialization::Serializer< IncomingMsg > |
struct | ros::serialization::Serializer< OutgoingMsg > |
Namespaces | |
namespace | ros |
namespace | ros::serialization |
Functions | |
void | callback (const boost::shared_ptr< IncomingMsg const > &msg) |
int | main (int argc, char **argv) |
ROS_IMPLEMENT_SIMPLE_TOPIC_TRAITS (OutgoingMsg,"my_md5sum","test_roscpp_serialization/OutgoingMsg","\n") | |
ROS_IMPLEMENT_SIMPLE_TOPIC_TRAITS (IncomingMsg,"my_md5sum","test_roscpp_serialization/IncomingMsg","\n") | |
TEST (PreDeserialize, preDeserialize) | |
Variables | |
boost::shared_ptr< IncomingMsg const > | g_msg |
void callback | ( | const boost::shared_ptr< IncomingMsg const > & | msg | ) |
Definition at line 113 of file pre_deserialize.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 135 of file pre_deserialize.cpp.
ROS_IMPLEMENT_SIMPLE_TOPIC_TRAITS | ( | OutgoingMsg | , | |
"my_md5sum" | , | |||
"test_roscpp_serialization/OutgoingMsg" | , | |||
"\n" | ||||
) |
ROS_IMPLEMENT_SIMPLE_TOPIC_TRAITS | ( | IncomingMsg | , | |
"my_md5sum" | , | |||
"test_roscpp_serialization/IncomingMsg" | , | |||
"\n" | ||||
) |
TEST | ( | PreDeserialize | , | |
preDeserialize | ||||
) |
Definition at line 118 of file pre_deserialize.cpp.
boost::shared_ptr<IncomingMsg const> g_msg |
Definition at line 112 of file pre_deserialize.cpp.