Gazebo Sim

API Reference

9.0.0
AcousticComms.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
18/*
19 * Development of this module has been funded by the Monterey Bay Aquarium
20 * Research Institute (MBARI) and the David and Lucile Packard Foundation
21 */
22#ifndef GZ_SIM_SYSTEMS_ACOUSTICCOMMS_HH_
23#define GZ_SIM_SYSTEMS_ACOUSTICCOMMS_HH_
24
25#include <memory>
26#include <string>
27#include <tuple>
28#include <unordered_map>
29
30#include <sdf/sdf.hh>
31#include <gz/math/Rand.hh>
33#include <gz/sim/System.hh>
34#include <gz/sim/Entity.hh>
37
38namespace gz
39{
40namespace sim
41{
42// Inline bracket to help doxygen filtering.
43inline namespace GZ_SIM_VERSION_NAMESPACE {
44namespace systems
45{
98
101 {
102 public: explicit AcousticComms();
103
104 // Documentation inherited.
105 public: void Load(const gz::sim::Entity &_entity,
108 gz::sim::EventManager &_eventMgr) override;
109
110 // Documentation inherited.
111 public: void Step(const gz::sim::UpdateInfo &_info,
112 const gz::sim::comms::Registry &_currentRegistry,
113 gz::sim::comms::Registry &_newRegistry,
114 gz::sim::EntityComponentManager &_ecm) override;
115
116 // Impl pointer
117 GZ_UTILS_UNIQUE_IMPL_PTR(dataPtr)
118 };
119}
120}
121}
122}
123
124#endif