rmw_fastrtps_shared_cpp  master
Code shared on static and dynamic type support of rmw_fastrtps_cpp.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rmw_context_impl.hpp
Go to the documentation of this file.
1 // Copyright 2020 Open Source Robotics Foundation, Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef RMW_FASTRTPS_SHARED_CPP__RMW_CONTEXT_IMPL_HPP_
16 #define RMW_FASTRTPS_SHARED_CPP__RMW_CONTEXT_IMPL_HPP_
17 
18 #include <mutex>
19 
21 {
23  void * common;
29  uint64_t count;
30 };
31 
32 #endif // RMW_FASTRTPS_SHARED_CPP__RMW_CONTEXT_IMPL_HPP_
rmw_context_impl_t::participant_info
void * participant_info
Pointer to rmw_fastrtps_shared_cpp::CustomParticipantInfo.
Definition: rmw_context_impl.hpp:25
rmw_context_impl_t::common
void * common
Pointer to rmw_dds_common::Context.
Definition: rmw_context_impl.hpp:23
rmw_context_impl_t::mutex
std::mutex mutex
Mutex used to protect initialization/destruction.
Definition: rmw_context_impl.hpp:27
rmw_context_impl_t::count
uint64_t count
Reference count.
Definition: rmw_context_impl.hpp:29
rmw_context_impl_t
Definition: rmw_context_impl.hpp:20
std::mutex