OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <QOS_Common.h>
Static Public Member Functions | |
static void | get_duration (::DDS::Duration_t &duration, const ACE_TCHAR *sec, const ACE_TCHAR *nsec) |
::CORBA::Long | get_qos_long (const ACE_TCHAR *value) |
static void | get_durability_kind (const ::dds::durabilityKind kind, ::DDS::DurabilityQosPolicyKind &dds_kind) |
static void | get_history_kind (const ::dds::historyKind kind, ::DDS::HistoryQosPolicyKind &dds_kind) |
static void | get_liveliness_kind (const ::dds::livelinessKind kind, ::DDS::LivelinessQosPolicyKind &dds_kind) |
static void | get_realiability_kind (const dds::reliabilityKind kind, ::DDS::ReliabilityQosPolicyKind &dds_kind) |
static void | get_destination_order_kind (const ::dds::destinationOrderKind kind, ::DDS::DestinationOrderQosPolicyKind &dds_kind) |
static void | get_ownership_kind (::dds::ownershipKind kind, ::DDS::OwnershipQosPolicyKind &dds_kind) |
static void | get_type_consistency_kind (::dds::typeConsistencyKind kind, ::DDS::TypeConsistencyEnforcementQosPolicyKind_t &dds_kind) |
static void | get_data_presentation_id_kind (::dds::dataRepresentationIdKind kind, ::DDS::DataRepresentationId_t &dds_kind) |
Converting most common QOS XML settings to IDL QOS.
Definition at line 22 of file QOS_Common.h.
|
static |
Operations which convert QOS XML kinds to QOS IDL kinds.
Definition at line 203 of file QOS_Common.cpp.
References ACE_ERROR, ACE_TEXT(), LM_ERROR, OPENDDS_END_VERSIONED_NAMESPACE_DECL, OpenDDS::DCPS::UNALIGNED_CDR_DATA_REPRESENTATION, DDS::XCDR2_DATA_REPRESENTATION, DDS::XCDR_DATA_REPRESENTATION, and DDS::XML_DATA_REPRESENTATION.
Referenced by QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().
|
static |
Operations which convert QOS XML kinds to QOS IDL kinds.
Definition at line 137 of file QOS_Common.cpp.
References ACE_ERROR, ACE_TEXT(), DDS::BY_RECEPTION_TIMESTAMP_DESTINATIONORDER_QOS, DDS::BY_SOURCE_TIMESTAMP_DESTINATIONORDER_QOS, and LM_ERROR.
Referenced by QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().
|
static |
Operations which convert QOS XML kinds to QOS IDL kinds.
Definition at line 6 of file QOS_Common.cpp.
References ACE_ERROR, ACE_TEXT(), LM_ERROR, DDS::PERSISTENT_DURABILITY_QOS, DDS::TRANSIENT_DURABILITY_QOS, DDS::TRANSIENT_LOCAL_DURABILITY_QOS, and DDS::VOLATILE_DURABILITY_QOS.
Referenced by QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().
|
static |
get_duration
The QOS XML seconds and nano seconds tags may contain text (DURATION_INFINITY, DURATION_INFINITY_SEC, DURATION_INFINITY_NSEC). These values need to be converted to a numeric value.
Definition at line 56 of file QOS_Common.cpp.
References ACE_TEXT(), ACE_OS::atoi(), DDS::Duration_t::nanosec, DDS::Duration_t::sec, and ACE_OS::strcmp().
Referenced by QOS_DataReader_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos(), QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos(), and QOS_DwTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().
|
static |
Operations which convert QOS XML kinds to QOS IDL kinds.
Definition at line 34 of file QOS_Common.cpp.
References ACE_ERROR, ACE_TEXT(), DDS::KEEP_ALL_HISTORY_QOS, DDS::KEEP_LAST_HISTORY_QOS, and LM_ERROR.
Referenced by QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos(), and QOS_DwTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().
|
static |
Operations which convert QOS XML kinds to QOS IDL kinds.
Definition at line 90 of file QOS_Common.cpp.
References ACE_ERROR, ACE_TEXT(), DDS::AUTOMATIC_LIVELINESS_QOS, LM_ERROR, DDS::MANUAL_BY_PARTICIPANT_LIVELINESS_QOS, and DDS::MANUAL_BY_TOPIC_LIVELINESS_QOS.
Referenced by QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().
|
static |
Operations which convert QOS XML kinds to QOS IDL kinds.
Definition at line 159 of file QOS_Common.cpp.
References ACE_ERROR, ACE_TEXT(), DDS::EXCLUSIVE_OWNERSHIP_QOS, LM_ERROR, and DDS::SHARED_OWNERSHIP_QOS.
Referenced by QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().
|
static |
get_qos_long
The QOS XML integer tags may contain text (LENGTH_UNLIMITED). This value need to be converted to a numeric value.
Definition at line 78 of file QOS_Common.cpp.
References ACE_TEXT(), ACE_OS::atoi(), and ACE_OS::strcmp().
Referenced by QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos(), and QOS_DwTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().
|
static |
Operations which convert QOS XML kinds to QOS IDL kinds.
Definition at line 115 of file QOS_Common.cpp.
References ACE_ERROR, ACE_TEXT(), DDS::BEST_EFFORT_RELIABILITY_QOS, LM_ERROR, and DDS::RELIABLE_RELIABILITY_QOS.
Referenced by QOS_DwDrTp_Base_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().
|
static |
Operations which convert QOS XML kinds to QOS IDL kinds.
Definition at line 181 of file QOS_Common.cpp.
References ACE_ERROR, ACE_TEXT(), DDS::ALLOW_TYPE_COERCION, DDS::DISALLOW_TYPE_COERCION, and LM_ERROR.
Referenced by QOS_DataReader_T< XML_QOS_TYPE, DDS_QOS_TYPE >::read_qos().