Ignition Gazebo

API Reference

6.9.0
src/gui/plugins/component_inspector/Types.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef IGNITION_GAZEBO_GUI_COMPONENTINSPECTOR_TYPES_HH_
19 #define IGNITION_GAZEBO_GUI_COMPONENTINSPECTOR_TYPES_HH_
20 
21 #include <QStandardItem>
22 
23 #include <ignition/gazebo/Types.hh>
24 
25 namespace ignition
26 {
27 namespace gazebo
28 {
29 namespace inspector
30 {
36  using UpdateViewCb = std::function<void(const EntityComponentManager &_ecm,
37  QStandardItem *_item)>;
38 }
39 }
40 }
41 #endif
42 
std::function< void(const EntityComponentManager &_ecm, QStandardItem *_item)> UpdateViewCb
Function definition that a component can use to update its UI elements based on changes from the ECM...
Definition: src/gui/plugins/component_inspector/Types.hh:37
This library is part of the Ignition Robotics project.