Class PortParameters, to define the port parameters and gains related with the RTPS protocol.
More...
#include <PortParameters.hpp>
|
| uint16_t | portBase |
| | PortBase, default value 7400.
|
| |
| uint16_t | domainIDGain |
| | DomainID gain, default value 250.
|
| |
| uint16_t | participantIDGain |
| | ParticipantID gain, default value 2.
|
| |
| uint16_t | offsetd0 |
| | Offset d0, default value 0.
|
| |
| uint16_t | offsetd1 |
| | Offset d1, default value 10.
|
| |
| uint16_t | offsetd2 |
| | Offset d2, default value 1.
|
| |
| uint16_t | offsetd3 |
| | Offset d3, default value 11.
|
| |
| uint16_t | offsetd4 |
| | Offset d4, default value 2.
|
| |
Class PortParameters, to define the port parameters and gains related with the RTPS protocol.
◆ PortParameters()
◆ ~PortParameters()
◆ get_discovery_server_port()
| uint16_t get_discovery_server_port |
( |
uint32_t |
domainId | ) |
const |
|
inline |
Get a discovery server port based on the domain ID.
- Parameters
-
- Returns
- Discovery server port
◆ getMulticastPort()
| uint32_t getMulticastPort |
( |
uint32_t |
domainId | ) |
const |
|
inline |
Get a multicast port based on the domain ID.
- Parameters
-
- Returns
- Multicast port
◆ getUnicastPort()
| uint32_t getUnicastPort |
( |
uint32_t |
domainId, |
|
|
uint32_t |
RTPSParticipantID |
|
) |
| const |
|
inline |
Get a unicast port based on the domain ID and the participant ID.
- Parameters
-
| domainId | Domain ID. |
| RTPSParticipantID | Participant ID. |
- Returns
- Unicast port
◆ operator==()
◆ domainIDGain
DomainID gain, default value 250.
◆ offsetd0
Offset d0, default value 0.
◆ offsetd1
Offset d1, default value 10.
◆ offsetd2
Offset d2, default value 1.
◆ offsetd3
Offset d3, default value 11.
◆ offsetd4
Offset d4, default value 2.
◆ participantIDGain
| uint16_t participantIDGain |
ParticipantID gain, default value 2.
◆ portBase
PortBase, default value 7400.
The documentation for this class was generated from the following file: