Shared memory transport configuration. More...
#include <test_SharedMemTransportDescriptor.hpp>

Public Member Functions | |
| virtual | ~test_SharedMemTransportDescriptor () |
| FASTDDS_EXPORTED_API | test_SharedMemTransportDescriptor () |
| FASTDDS_EXPORTED_API | test_SharedMemTransportDescriptor (const test_SharedMemTransportDescriptor &t) |
| virtual TransportInterface * | create_transport () const override |
| Factory method pattern. | |
Public Member Functions inherited from SharedMemTransportDescriptor | |
| virtual | ~SharedMemTransportDescriptor ()=default |
| Destructor. | |
| uint32_t | min_send_buffer_size () const override |
| Minimum size of the send buffer. | |
| FASTDDS_EXPORTED_API | SharedMemTransportDescriptor () |
| Constructor. | |
| FASTDDS_EXPORTED_API | SharedMemTransportDescriptor (const SharedMemTransportDescriptor &t)=default |
| Copy constructor. | |
| FASTDDS_EXPORTED_API SharedMemTransportDescriptor & | operator= (const SharedMemTransportDescriptor &t)=default |
| Copy assignment. | |
| FASTDDS_EXPORTED_API uint32_t | segment_size () const |
| Return the size of the shared memory segment. | |
| FASTDDS_EXPORTED_API void | segment_size (uint32_t segment_size) |
| Set the size of the shared memory segment. | |
| virtual uint32_t | max_message_size () const override |
| Return the maximum size of a single message in the transport (in octets) | |
| FASTDDS_EXPORTED_API void | max_message_size (uint32_t max_message_size) |
| Set the maximum size of a single message in the transport (in octets) | |
| FASTDDS_EXPORTED_API uint32_t | port_queue_capacity () const |
| Return the size of the listening port (in messages) | |
| FASTDDS_EXPORTED_API void | port_queue_capacity (uint32_t port_queue_capacity) |
| Set the size of the listening port (in messages) | |
| FASTDDS_EXPORTED_API uint32_t | healthy_check_timeout_ms () const |
| Return the timeout for the health check of ports (ms) | |
| FASTDDS_EXPORTED_API void | healthy_check_timeout_ms (uint32_t healthy_check_timeout_ms) |
| Set the timeout for the health check of ports (ms) | |
| FASTDDS_EXPORTED_API std::string | rtps_dump_file () const |
| Return the full path of the protocol dump file. | |
| FASTDDS_EXPORTED_API void | rtps_dump_file (const std::string &rtps_dump_file) |
| Set the full path of the protocol dump file. | |
| FASTDDS_EXPORTED_API ThreadSettings | dump_thread () const |
| Return the thread settings for the transport dump thread. | |
| FASTDDS_EXPORTED_API void | dump_thread (const ThreadSettings &dump_thread) |
| Set the thread settings for the transport dump thread. | |
| FASTDDS_EXPORTED_API bool | operator== (const SharedMemTransportDescriptor &t) const |
| Comparison operator. | |
Public Member Functions inherited from PortBasedTransportDescriptor | |
| FASTDDS_EXPORTED_API | PortBasedTransportDescriptor (uint32_t maximumMessageSize, uint32_t maximumInitialPeersRange) |
| Constructor. | |
| FASTDDS_EXPORTED_API | PortBasedTransportDescriptor (const PortBasedTransportDescriptor &t)=default |
| Copy constructor. | |
| FASTDDS_EXPORTED_API PortBasedTransportDescriptor & | operator= (const PortBasedTransportDescriptor &t)=default |
| Copy assignment. | |
| virtual FASTDDS_EXPORTED_API | ~PortBasedTransportDescriptor ()=default |
| Destructor. | |
| bool FASTDDS_EXPORTED_API | operator== (const PortBasedTransportDescriptor &t) const |
| Comparison operator. | |
| virtual FASTDDS_EXPORTED_API const ThreadSettings & | get_thread_config_for_port (uint32_t port) const |
| Get the ThreadSettings for a specific port. | |
| virtual FASTDDS_EXPORTED_API bool | set_thread_config_for_port (const uint32_t &port, const ThreadSettings &thread_settings) |
| FASTDDS_EXPORTED_API const ThreadSettings & | default_reception_threads () const |
| Returns the ThreadSettings for the default reception threads. | |
| virtual FASTDDS_EXPORTED_API void | default_reception_threads (const ThreadSettings &default_reception_threads) |
| Set the ThreadSettings for the default reception threads. | |
| FASTDDS_EXPORTED_API const ReceptionThreadsConfigMap & | reception_threads () const |
| Returns the ThreadSettings for the user-configured reception threads. | |
| virtual FASTDDS_EXPORTED_API bool | reception_threads (const ReceptionThreadsConfigMap &reception_threads) |
| Set the ThreadSettings for the user-configured reception threads. | |
Public Member Functions inherited from TransportDescriptorInterface | |
| FASTDDS_EXPORTED_API | TransportDescriptorInterface (uint32_t maximumMessageSize, uint32_t maximumInitialPeersRange) |
| Constructor. | |
| FASTDDS_EXPORTED_API | TransportDescriptorInterface (const TransportDescriptorInterface &t) |
| Copy constructor. | |
| FASTDDS_EXPORTED_API TransportDescriptorInterface & | operator= (const TransportDescriptorInterface &t) |
| Copy assignment. | |
| virtual FASTDDS_EXPORTED_API | ~TransportDescriptorInterface ()=default |
| Destructor. | |
| virtual FASTDDS_EXPORTED_API uint32_t | max_initial_peers_range () const |
| Returns the maximum number of opened channels for each initial remote peer (maximum number of guessed initial peers to try to connect) | |
| FASTDDS_EXPORTED_API bool | operator== (const TransportDescriptorInterface &t) const |
| Comparison operator. | |
| FASTDDS_EXPORTED_API void | lock () |
| Lock internal mutex (for Fast-DDS internal use) | |
| FASTDDS_EXPORTED_API void | unlock () |
| Unlock internal mutex (for Fast-DDS internal use) | |
Public Attributes | |
| uint32_t | big_buffer_size_ |
| uint32_t * | big_buffer_size_send_count_ |
| uint32_t * | big_buffer_size_recv_count_ |
Public Attributes inherited from TransportDescriptorInterface | |
| uint32_t | maxMessageSize |
| Maximum size of a single message in the transport. | |
| uint32_t | maxInitialPeersRange |
| Number of channels opened with each initial remote peer. | |
Additional Inherited Members | |
Public Types inherited from PortBasedTransportDescriptor | |
| using | ReceptionThreadsConfigMap = std::map< uint32_t, ThreadSettings > |
Protected Attributes inherited from PortBasedTransportDescriptor | |
| ThreadSettings | default_reception_threads_ |
| Thread settings for the default reception threads. | |
| ReceptionThreadsConfigMap | reception_threads_ |
| Thread settings for the specific reception threads, indexed by port. | |
Shared memory transport configuration.
|
inlinevirtual |
| FASTDDS_EXPORTED_API test_SharedMemTransportDescriptor | ( | ) |
| FASTDDS_EXPORTED_API test_SharedMemTransportDescriptor | ( | const test_SharedMemTransportDescriptor & | t | ) |
|
overridevirtual |
Factory method pattern.
It will create and return a TransportInterface corresponding to this descriptor. This provides an interface to the NetworkFactory to create the transports without the need to know about their type
Reimplemented from SharedMemTransportDescriptor.
| uint32_t big_buffer_size_ |
| uint32_t* big_buffer_size_recv_count_ |
| uint32_t* big_buffer_size_send_count_ |