| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
test_SharedMemTransportDescriptor.hpp
1// Copyright 2020 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
19
20#ifndef FASTDDS_RTPS_TRANSPORT_SHARED_MEM__TEST_SHAREDMEMTRANSPORTDESCRIPTOR_HPP
21#define FASTDDS_RTPS_TRANSPORT_SHARED_MEM__TEST_SHAREDMEMTRANSPORTDESCRIPTOR_HPP
22
23#include <fastdds/rtps/transport/shared_mem/SharedMemTransportDescriptor.hpp>
24
25 namespace eprosima {
26 namespace fastdds {
27 namespace rtps {
28
34 typedef struct test_SharedMemTransportDescriptor : public SharedMemTransportDescriptor
35{
36 virtual ~test_SharedMemTransportDescriptor()
37 {
38 }
39
40 FASTDDS_EXPORTED_API test_SharedMemTransportDescriptor();
41 FASTDDS_EXPORTED_API test_SharedMemTransportDescriptor(
42 const test_SharedMemTransportDescriptor& t);
43
44 virtual TransportInterface* create_transport() const override;
45
46 uint32_t big_buffer_size_;
47 uint32_t* big_buffer_size_send_count_;
48 uint32_t* big_buffer_size_recv_count_;
49
50}test_SharedMemTransportDescriptor;
51
52} // namespace rtps
53} // namespace fastdds
54} // namespace eprosima
55
56#endif //FASTDDS_RTPS_TRANSPORT_SHARED_MEM__TEST_SHAREDMEMTRANSPORTDESCRIPTOR_HPP
eprosima::fastdds::rtps::TransportInterface
Interface against which to implement a transport layer, decoupled from Fast DDS internals.
Definition TransportInterface.hpp:64
eprosima::fastdds::rtps::test_SharedMemTransportDescriptor
eprosima::fastdds::rtps::test_SharedMemTransportDescriptor test_SharedMemTransportDescriptor
Shared memory transport configuration.
eprosima::fastdds::rtps
Contains the RTPS protocol implementation.
eprosima::fastdds
eprosima
eProsima namespace.
eprosima::fastdds::rtps::SharedMemTransportDescriptor::SharedMemTransportDescriptor
FASTDDS_EXPORTED_API SharedMemTransportDescriptor()
Constructor.
eprosima::fastdds::rtps::test_SharedMemTransportDescriptor::big_buffer_size_recv_count_
uint32_t * big_buffer_size_recv_count_
Definition test_SharedMemTransportDescriptor.hpp:48
eprosima::fastdds::rtps::test_SharedMemTransportDescriptor::big_buffer_size_send_count_
uint32_t * big_buffer_size_send_count_
Definition test_SharedMemTransportDescriptor.hpp:47
eprosima::fastdds::rtps::test_SharedMemTransportDescriptor::~test_SharedMemTransportDescriptor
virtual ~test_SharedMemTransportDescriptor()
Definition test_SharedMemTransportDescriptor.hpp:36
eprosima::fastdds::rtps::test_SharedMemTransportDescriptor::big_buffer_size_
uint32_t big_buffer_size_
Definition test_SharedMemTransportDescriptor.hpp:46
eprosima::fastdds::rtps::test_SharedMemTransportDescriptor::create_transport
virtual TransportInterface * create_transport() const override
Factory method pattern.
eprosima::fastdds::rtps::test_SharedMemTransportDescriptor::test_SharedMemTransportDescriptor
FASTDDS_EXPORTED_API test_SharedMemTransportDescriptor(const test_SharedMemTransportDescriptor &t)
eprosima::fastdds::rtps::test_SharedMemTransportDescriptor::test_SharedMemTransportDescriptor
FASTDDS_EXPORTED_API test_SharedMemTransportDescriptor()