OpenDDS
Snapshot(2023/04/28-20:55)
|
#include "TransportDebug.h"
#include "dds/DCPS/Cached_Allocator_With_Overflow_T.h"
#include "dds/DCPS/Definitions.h"
#include "dds/DCPS/PoolAllocator.h"
#include "dds/DCPS/debug.h"
#include "dds/DCPS/Util.h"
#include <dds/DdsDcpsGuidC.h>
#include <dds/DdsDcpsInfrastructureC.h>
#include <ace/INET_Addr.h>
#include <ace/Basic_Types.h>
#include <ace/CDR_Base.h>
#include <ace/Synch_Traits.h>
Go to the source code of this file.
Namespaces | |
OpenDDS | |
The Internal API and Implementation of OpenDDS. | |
OpenDDS::DCPS | |
Macros | |
#define | RECEIVE_SYNCH ACE_SYNCH_MUTEX |
#define | GET_CONFIG_VALUE(CF, SECT, KEY, VALUE, TYPE) |
#define | GET_CONFIG_STRING_VALUE(CF, SECT, KEY, VALUE) |
#define | GET_CONFIG_TSTRING_VALUE(CF, SECT, KEY, VALUE) |
#define | GET_CONFIG_DOUBLE_VALUE(CF, SECT, KEY, VALUE) |
#define | GET_CONFIG_TIME_VALUE(CF, SECT, KEY, VALUE) |
Typedefs | |
typedef ACE_UINT64 | OpenDDS::DCPS::DataLinkIdType |
Identifier type for DataLink objects. More... | |
typedef Cached_Allocator_With_Overflow< ACE_Message_Block, RECEIVE_SYNCH > | OpenDDS::DCPS::TransportMessageBlockAllocator |
typedef Cached_Allocator_With_Overflow< ACE_Data_Block, RECEIVE_SYNCH > | OpenDDS::DCPS::TransportDataBlockAllocator |
typedef Cached_Allocator_With_Overflow< char[RECEIVE_DATA_BUFFER_SIZE], RECEIVE_SYNCH > | OpenDDS::DCPS::TransportDataAllocator |
typedef ACE_CDR::Long | OpenDDS::DCPS::Priority |
typedef size_t | OpenDDS::DCPS::ConnectionInfoFlags |
Variables | |
static const ACE_TCHAR | OpenDDS::DCPS::TRANSPORT_SECTION_NAME [] = ACE_TEXT("transport") |
static const ACE_TCHAR | OpenDDS::DCPS::TRANSPORT_TEMPLATE_SECTION_NAME [] = ACE_TEXT("transport_template") |
static const ACE_TCHAR | OpenDDS::DCPS::CONFIG_SECTION_NAME [] = ACE_TEXT("config") |
static const ACE_TCHAR | OpenDDS::DCPS::CUSTOMIZATION_SECTION_NAME [] = ACE_TEXT("Customization") |
static const ConnectionInfoFlags | OpenDDS::DCPS::CONNINFO_UNICAST = (1 << 0) |
static const ConnectionInfoFlags | OpenDDS::DCPS::CONNINFO_MULTICAST = (1 << 1) |
static const ConnectionInfoFlags | OpenDDS::DCPS::CONNINFO_ALL = static_cast<ConnectionInfoFlags>(-1) |
#define GET_CONFIG_DOUBLE_VALUE | ( | CF, | |
SECT, | |||
KEY, | |||
VALUE | |||
) |
Definition at line 141 of file TransportDefs.h.
Referenced by OpenDDS::DCPS::TcpInst::load().
#define GET_CONFIG_STRING_VALUE | ( | CF, | |
SECT, | |||
KEY, | |||
VALUE | |||
) |
Macro to get the individual configuration value from ACE_Configuration_Heap as string type.
Definition at line 76 of file TransportDefs.h.
Referenced by OpenDDS::DCPS::ShmemInst::load(), OpenDDS::DCPS::TcpInst::load(), OpenDDS::DCPS::RtpsUdpInst::load(), OpenDDS::DCPS::MulticastInst::load(), and OpenDDS::DCPS::Service_Participant::load_common_configuration().
#define GET_CONFIG_TIME_VALUE | ( | CF, | |
SECT, | |||
KEY, | |||
VALUE | |||
) |
Macro to get the individual configuration value from ACE_Configuration_Heap as TimeDuration using milliseconds.
Definition at line 173 of file TransportDefs.h.
Referenced by OpenDDS::DCPS::ShmemInst::load(), OpenDDS::DCPS::RtpsUdpInst::load(), OpenDDS::DCPS::TransportInst::load(), and OpenDDS::DCPS::MulticastInst::load().
#define GET_CONFIG_TSTRING_VALUE | ( | CF, | |
SECT, | |||
KEY, | |||
VALUE | |||
) |
Definition at line 112 of file TransportDefs.h.
Referenced by OpenDDS::DCPS::UdpInst::load(), OpenDDS::DCPS::RtpsUdpInst::load(), OpenDDS::DCPS::MulticastInst::load(), and OpenDDS::DCPS::Service_Participant::load_common_configuration().
#define GET_CONFIG_VALUE | ( | CF, | |
SECT, | |||
KEY, | |||
VALUE, | |||
TYPE | |||
) |
Macro to get the individual configuration value from ACE_Configuration_Heap and cast to the specific type from integer.
Definition at line 45 of file TransportDefs.h.
Referenced by OpenDDS::DCPS::ShmemInst::load(), OpenDDS::DCPS::UdpInst::load(), OpenDDS::DCPS::TcpInst::load(), OpenDDS::DCPS::RtpsUdpInst::load(), OpenDDS::DCPS::TransportInst::load(), OpenDDS::DCPS::MulticastInst::load(), and OpenDDS::DCPS::Service_Participant::load_common_configuration().
#define RECEIVE_SYNCH ACE_SYNCH_MUTEX |
Guard the allocations for the underlying memory management of the receive processing with the following:
Notice that even we have only one thread for receiving per transport, the underly message blocks would interact with the threads from EndHistoricSamplesMissedSweeper which are different from the receiving threads. Therefore, we cannot use ACE_SYNCH_NULL_MUTEX here.
Definition at line 40 of file TransportDefs.h.