src
image_transport_hints_property.cpp
Go to the documentation of this file.
1
#include "
image_transport_hints_property.h
"
2
3
namespace
jsk_rviz_plugins
{
4
5
ImageTransportHintsProperty::ImageTransportHintsProperty
(
const
char
* name,
6
const
char
* description,
7
rviz::Property
* parent,
8
const
char
* changed_slot)
9
:
rviz
::
EditableEnumProperty
(name,
"raw"
, description, parent, changed_slot) {
10
addOptionStd
(
"raw"
);
11
addOptionStd
(
"compressed"
);
12
addOptionStd
(
"theora"
);
13
}
14
15
ImageTransportHintsProperty::~ImageTransportHintsProperty
() {}
16
17
image_transport::TransportHints
ImageTransportHintsProperty::getTransportHints
() {
18
return
image_transport::TransportHints
(
getStdString
());
19
}
20
21
}
jsk_rviz_plugins::ImageTransportHintsProperty::~ImageTransportHintsProperty
~ImageTransportHintsProperty()
Definition:
image_transport_hints_property.cpp:15
image_transport_hints_property.h
jsk_rviz_plugins
Definition:
__init__.py:1
rviz::Property
rviz::EditableEnumProperty
rviz::EditableEnumProperty::addOptionStd
void addOptionStd(const std::string &option)
rviz
rviz::StringProperty::getStdString
std::string getStdString()
jsk_rviz_plugins::ImageTransportHintsProperty::getTransportHints
image_transport::TransportHints getTransportHints()
Definition:
image_transport_hints_property.cpp:17
jsk_rviz_plugins::ImageTransportHintsProperty::ImageTransportHintsProperty
ImageTransportHintsProperty(const char *name, const char *description, rviz::Property *parent, const char *changed_slot)
Definition:
image_transport_hints_property.cpp:5
image_transport::TransportHints
jsk_rviz_plugins
Author(s): Kei Okada
, Yohei Kakiuchi
, Shohei Fujii
, Ryohei Ueda
autogenerated on Thu Jun 1 2023 02:45:58