Gazebo Rendering

API Reference

9.0.0~pre2
BaseNativeWindow.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#ifndef GZ_RENDERING_BASE_BASENATIVEWINDOW_HH_
18#define GZ_RENDERING_BASE_BASENATIVEWINDOW_HH_
19
20#include <map>
21#include <string>
22#include <vector>
25
26namespace gz
27{
28 namespace rendering
29 {
30 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
31 //
32 class GZ_RENDERING_VISIBLE BaseNativeWindow :
33 public virtual NativeWindow
34 {
35 protected: BaseNativeWindow();
36
37 public: virtual ~BaseNativeWindow();
38
39 // Documentation Inherited.
40 public: virtual void NotifyFocused(bool /*_focused*/) override {}
41
42 // Documentation Inherited.
43 public: virtual void NotifyVisible(bool /*_visible*/) override {}
44
45 // Documentation Inherited.
46 public: virtual void NotifyWindowMovedOrResized() override {}
47
48 // Documentation Inherited.
49 public: virtual void RequestResolution(
50 uint32_t /*_width*/, uint32_t /*_height*/) override {}
51
52 // Documentation Inherited.
53 public: virtual void Draw(CameraPtr /*_camera*/) override {}
54 };
55 }
56 }
57}
58#endif