Gazebo Sim

API Reference

8.7.0
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_SIM_RENDERING_EVENTS_HH_
18 #define GZ_SIM_RENDERING_EVENTS_HH_
19 
20 
21 #include <gz/common/Event.hh>
22 
23 #include "gz/sim/config.hh"
24 
25 namespace gz
26 {
27  namespace sim
28  {
29  // Inline bracket to help doxygen filtering.
30  inline namespace GZ_SIM_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 Render = gz::common::EventT<void(void),
67  struct RenderTag>;
68 
77  using PostRender = gz::common::EventT<void(void),
78  struct PostRenderTag>;
79 
89  using RenderTeardown = gz::common::EventT<void(void),
90  struct RenderTeardownTag>;
91 
103  using ForceRender = gz::common::EventT<void(void),
104  struct ForceRenderTag>;
105  }
106  } // namespace events
107  } // namespace sim
108 } // namespace gz
109 
110 #endif // GZ_SIM_RENDEREVENTS_HH_