image_transport_hints_property.cpp
Go to the documentation of this file.
00001 #include "image_transport_hints_property.h"
00002 
00003 namespace jsk_rviz_plugins {
00004 
00005 ImageTransportHintsProperty::ImageTransportHintsProperty(const char* name,
00006                                                          const char* description,
00007                                                          rviz::Property* parent,
00008                                                          const char* changed_slot)
00009     : rviz::EditableEnumProperty(name, "raw", description, parent, changed_slot) {
00010   addOptionStd("raw");
00011   addOptionStd("compressed");
00012   addOptionStd("theora");
00013 }
00014 
00015 ImageTransportHintsProperty::~ImageTransportHintsProperty() {}
00016 
00017 image_transport::TransportHints ImageTransportHintsProperty::getTransportHints() {
00018   return image_transport::TransportHints(getStdString());
00019 }
00020 
00021 }


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Wed May 1 2019 02:40:22