Fast RTPS  Version 2.1.0
Fast RTPS
DynamicTypeBuilderPtr.h
1 // Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima).
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 TYPES_DYNAMIC_TYPE_BUILDER_PTR_H
16 #define TYPES_DYNAMIC_TYPE_BUILDER_PTR_H
17 
18 #include <fastrtps/types/TypesBase.h>
19 
20 namespace eprosima {
21 namespace fastrtps {
22 namespace types {
23 
24 class DynamicTypeBuilder;
25 
26 class DynamicTypeBuilder_ptr : public std::shared_ptr<DynamicTypeBuilder>
27 {
28 public:
29 
30  typedef std::shared_ptr<DynamicTypeBuilder> Base;
31 
32  using Base::operator->;
33  using Base::operator*;
34  using Base::operator bool;
35 
36  RTPS_DllAPI DynamicTypeBuilder_ptr()
37  {
38  }
39 
41 
42  RTPS_DllAPI DynamicTypeBuilder_ptr(DynamicTypeBuilder_ptr&& other) = default;
43 
45 };
46 
47 } // namespace types
48 } // namespace fastrtps
49 } // namespace eprosima
50 
51 #endif // TYPES_DYNAMIC_TYPE_BUILDER_PTR_H
eprosima::fastrtps::types::DynamicTypeBuilder_ptr::Base
std::shared_ptr< DynamicTypeBuilder > Base
Definition: DynamicTypeBuilderPtr.h:30
eprosima::fastrtps::types::DynamicTypeBuilder_ptr::operator=
RTPS_DllAPI DynamicTypeBuilder_ptr & operator=(DynamicTypeBuilder_ptr &&)=default
eprosima::fastrtps::types::DynamicTypeBuilder_ptr
Definition: DynamicTypeBuilderPtr.h:27
eprosima::fastrtps::types::DynamicTypeBuilder
Definition: DynamicTypeBuilder.h:32
eprosima::fastrtps::types::DynamicTypeBuilder_ptr::DynamicTypeBuilder_ptr
RTPS_DllAPI DynamicTypeBuilder_ptr(DynamicTypeBuilder *pType)
eprosima::fastrtps::types::DynamicTypeBuilder_ptr::DynamicTypeBuilder_ptr
RTPS_DllAPI DynamicTypeBuilder_ptr()
Definition: DynamicTypeBuilderPtr.h:36
eprosima::fastrtps::types::DynamicTypeBuilder_ptr::DynamicTypeBuilder_ptr
RTPS_DllAPI DynamicTypeBuilder_ptr(DynamicTypeBuilder_ptr &&other)=default
eprosima
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23