register_meta_types.cpp
Go to the documentation of this file.
00001 #include <QMetaType>
00002 #include <swri_profiler_msgs/ProfileIndexArray.h>
00003 #include <swri_profiler_msgs/ProfileDataArray.h>
00004 
00005 namespace swri_profiler_tools
00006 {
00007 void registerMetaTypes()
00008 {
00009   // We need to register our ROS message types with Qt to be able to
00010   // pass them in Qt queued signals/slots (across threads).
00011   qRegisterMetaType<swri_profiler_msgs::ProfileIndexArray>("swri_profiler_msgs::ProfileIndexArray");
00012   qRegisterMetaType<swri_profiler_msgs::ProfileDataArray>("swri_profiler_msgs::ProfileDataArray");
00013 }
00014 }  // namespace swri_profiler_tools
00015 


swri_profiler_tools
Author(s):
autogenerated on Sat Apr 27 2019 03:08:49