src
position_reference_property.h
Go to the documentation of this file.
1
/* Copyright 2018-2022 TomTom N.V.
2
3
Licensed under the Apache License, Version 2.0 (the "License");
4
you may not use this file except in compliance with the License.
5
You may obtain a copy of the License at
6
7
http://www.apache.org/licenses/LICENSE-2.0
8
9
Unless required by applicable law or agreed to in writing, software
10
distributed under the License is distributed on an "AS IS" BASIS,
11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
See the License for the specific language governing permissions and
13
limitations under the License. */
14
15
#pragma once
16
17
#include "
rviz/properties/tf_frame_property.h
"
18
19
#include "
position_reference.h
"
20
21
namespace
rviz
22
{
23
27
class
RVIZ_EXPORT
PositionReferenceProperty
:
public
TfFrameProperty
28
{
29
Q_OBJECT
30
public
:
31
explicit
PositionReferenceProperty
(
32
const
QString& name = QString(),
const
QString&
default_value
= QString(),
const
QString&
description
= QString(),
33
Property
* parent =
nullptr
,
FrameManager
* frame_manager =
nullptr
,
const
char
* changed_slot =
nullptr
,
34
QObject* receiver =
nullptr
);
35
36
QString getFrame()
const
;
37
std::string getFrameStd()
const
;
38
39
PositionReferenceType
getPositionReferenceType()
const
;
40
41
static
const
QString
FIX_MSG_STRING
;
42
43
private
Q_SLOTS:
44
void
adjustOptionsList();
45
};
46
47
}
rviz::Property
default_value
def default_value(type_)
rviz
rviz::PositionReferenceType
PositionReferenceType
Which reference should be used for determining position.
Definition:
position_reference.h:23
description
description
rviz::FrameManager
rviz::PositionReferenceProperty::FIX_MSG_STRING
static const QString FIX_MSG_STRING
Definition:
position_reference_property.h:41
tf_frame_property.h
position_reference.h
rviz::TfFrameProperty
rviz::PositionReferenceProperty
Definition:
position_reference_property.h:27
rviz_satellite
Author(s): Gareth Cross
, Andre Schröder
autogenerated on Thu May 4 2023 02:31:43