Ignition Gazebo

API Reference

6.9.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 IGNITION_GAZEBO_RENDERING_EVENTS_HH_
18 #define IGNITION_GAZEBO_RENDERING_EVENTS_HH_
19 
20 
21 #include <ignition/common/Event.hh>
22 
23 #include "ignition/gazebo/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 = ignition::common::EventT<void(void),
45  struct SceneUpdateTag>;
46 
55  using PreRender = ignition::common::EventT<void(void),
56  struct PreRenderTag>;
57 
66  using PostRender = ignition::common::EventT<void(void),
67  struct PostRenderTag>;
68  }
69  } // namespace events
70  } // namespace gazebo
71 } // namespace ignition
72 
73 #endif // IGNITION_GAZEBO_RENDEREVENTS_HH_
ignition::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: rendering/Events.hh:45
This library is part of the Ignition Robotics project.