Gazebo Gazebo

API Reference

6.16.0
gz/sim/rendering/Events.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 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 #ifndef GZ_GAZEBO_RENDERING_EVENTS_HH_
18 #define GZ_GAZEBO_RENDERING_EVENTS_HH_
19 
20 
21 #include <gz/common/Event.hh>
22 
23 #include "gz/sim/config.hh"
24 
25 namespace ignition
26 {
27  namespace gazebo
28  {
29  // Inline bracket to help doxygen filtering.
30  inline namespace IGNITION_GAZEBO_VERSION_NAMESPACE {
33  namespace events
34  {
44  using SceneUpdate = gz::common::EventT<void(void),
45  struct SceneUpdateTag>;
46 
55  using PreRender = gz::common::EventT<void(void),
56  struct PreRenderTag>;
57 
66  using PostRender = gz::common::EventT<void(void),
67  struct PostRenderTag>;
68  }
69  } // namespace events
70  } // namespace gazebo
71 } // namespace ignition
72 
73 #endif // GZ_GAZEBO_RENDEREVENTS_HH_
This library is part of the Gazebo project.
gz::common::EventT< void(void), struct SceneUpdateTag > SceneUpdate
The render event is emitted when the the scene manager is updated with contents from the ECM....
Definition: gz/sim/rendering/Events.hh:45
gz::common::EventT< void(void), struct PostRenderTag > PostRender
The render event is emitted after rendering updates. The event is emitted in the rendering thread so ...
Definition: gz/sim/rendering/Events.hh:67
gz::common::EventT< void(void), struct PreRenderTag > PreRender
The render event is emitted before rendering updates. The event is emitted in the rendering thread so...
Definition: gz/sim/rendering/Events.hh:56