iceoryx_posh  2.0.2
untyped_subscriber.hpp
1 // Copyright (c) 2020 by Robert Bosch GmbH. All rights reserved.
2 // Copyright (c) 2020 - 2022 by Apex.AI Inc. All rights reserved.
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 // SPDX-License-Identifier: Apache-2.0
17 
18 #ifndef IOX_POSH_POPO_UNTYPED_SUBSCRIBER_HPP
19 #define IOX_POSH_POPO_UNTYPED_SUBSCRIBER_HPP
20 
21 #include "iceoryx_posh/internal/popo/untyped_subscriber_impl.hpp"
22 
23 namespace iox
24 {
25 namespace popo
26 {
29 {
31 
32  public:
34 
35  virtual ~UntypedSubscriber() noexcept
36  {
37  Impl::m_trigger.reset();
38  }
39 };
40 
41 } // namespace popo
42 } // namespace iox
43 
44 #endif // IOX_POSH_POPO_UNTYPED_SUBSCRIBER_HPP
The UntypedSubscriberImpl class implements the untyped subscriber API.
Definition: untyped_subscriber_impl.hpp:39
The UntypedSubscriber class for the publish-subscribe messaging pattern in iceoryx.
Definition: untyped_subscriber.hpp:29