Gazebo Gazebo

API Reference

3.15.1
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  {
43  using PreRender = gz::common::EventT<void(void),
44  struct PreRenderTag>;
45 
54  using PostRender = gz::common::EventT<void(void),
55  struct PostRenderTag>;
56  }
57  } // namespace events
58  } // namespace gazebo
59 } // namespace ignition
60 
61 #endif // GZ_GAZEBO_RENDEREVENTS_HH_
This library is part of the Ignition Robotics project.
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:55
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:44