OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <TypeSupportImpl.h>
Protected Member Functions | |
void | get_type_from_type_lookup_service () |
![]() | |
LocalObject (void) | |
![]() | |
Object (int dummy=0) | |
TAO::Object_Proxy_Broker * | proxy_broker () const |
![]() | |
RcObject () | |
Protected Attributes | |
DDS::DynamicType_var | type_ |
![]() | |
ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > | refcount_ |
Private Member Functions | |
void | to_type_info_i (XTypes::TypeIdentifierWithDependencies &ti_with_deps, const XTypes::TypeIdentifier &ti, const XTypes::TypeMap &type_map) const |
void | populate_dependencies_i (const XTypes::TypeLookupService_rch &tls, XTypes::EquivalenceKind ek) const |
Private Attributes | |
XTypes::TypeLookupService_rch | type_lookup_service_ |
Static Private Attributes | |
static const ACE_CDR::Long | TYPE_INFO_DEPENDENT_COUNT_NOT_PROVIDED = -1 |
Definition at line 70 of file TypeSupportImpl.h.
|
inline |
Definition at line 73 of file TypeSupportImpl.h.
|
inlineexplicit |
|
virtual |
Definition at line 21 of file TypeSupportImpl.cpp.
void OpenDDS::DCPS::TypeSupportImpl::add_types | ( | const XTypes::TypeLookupService_rch & | tls | ) | const |
Definition at line 116 of file TypeSupportImpl.cpp.
References OpenDDS::XTypes::EK_COMPLETE, OpenDDS::XTypes::EK_MINIMAL, OpenDDS::STUN::encoding(), OpenDDS::DCPS::Service_Participant::Encoding_Normal, OpenDDS::XTypes::get_typeobject_encoding(), getCompleteTypeMap(), getMinimalTypeMap(), OpenDDS::XTypes::makeTypeIdentifier(), populate_dependencies_i(), preset_type_info(), OpenDDS::DCPS::Encoding::skip_sequence_dheader(), and TheServiceParticipant.
Referenced by OpenDDS::DCPS::DataWriterImpl::enable(), OpenDDS::DCPS::DataReaderImpl::enable(), and get_type_from_type_lookup_service().
|
pure virtual |
Returns the extensibility of just the topic type.
Implemented in OpenDDS::DCPS::TypeSupportImpl_T< NativeType >, and DDS::DynamicTypeSupport.
Referenced by OpenDDS::DCPS::DataWriterImpl::serialize_sample().
|
inlinevirtual |
Definition at line 101 of file TypeSupportImpl.h.
Referenced by OpenDDS::DCPS::DataWriterImpl::enable(), OpenDDS::DCPS::DataReaderImpl::enable(), OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::get_type(), OpenDDS::DCPS::MetaStructImpl< XTypes::DynamicSample >::getValue(), and OpenDDS::XTypes::DynamicDataReaderImpl::install_type_support().
|
inline |
|
protected |
Definition at line 187 of file TypeSupportImpl.cpp.
References add_types(), getCompleteTypeIdentifier(), getCompleteTypeMap(), getMinimalTypeIdentifier(), getMinimalTypeMap(), OpenDDS::DCPS::GUID_UNKNOWN, OPENDDS_END_VERSIONED_NAMESPACE_DECL, OpenDDS::XTypes::DynamicTypeImpl::set_complete_type_identifier(), OpenDDS::XTypes::DynamicTypeImpl::set_complete_type_map(), OpenDDS::XTypes::DynamicTypeImpl::set_minimal_type_identifier(), OpenDDS::XTypes::DynamicTypeImpl::set_minimal_type_map(), type_, and type_lookup_service_.
|
virtual |
NOTE: This one implements the IDL TypeSupport method so it returns a CORBA String that the caller must take ownership of.
Implements DDS::TypeSupport.
Definition at line 45 of file TypeSupportImpl.cpp.
References TAO::String_var< charT >::_retn(), ACE_ERROR, OpenDDS::XTypes::EK_COMPLETE, OpenDDS::XTypes::EK_MINIMAL, OpenDDS::XTypes::equivalence_hash_to_string(), OpenDDS::DCPS::LogLevel::Error, OpenDDS::XTypes::TypeIdentifier::kind(), LM_ERROR, OpenDDS::DCPS::log_level, and name().
|
pure virtual |
Implemented in DDS::DynamicTypeSupport.
Referenced by get_type_from_type_lookup_service(), populate_dependencies_i(), and to_type_info().
|
pure virtual |
Implemented in DDS::DynamicTypeSupport.
Referenced by add_types(), get_type_from_type_lookup_service(), populate_dependencies_i(), and to_type_info().
|
pure virtual |
Implemented in DDS::DynamicTypeSupport.
Referenced by OpenDDS::DCPS::MultiTopicDataReaderBase::metaStructFor().
|
pure virtual |
Implemented in DDS::DynamicTypeSupport.
Referenced by get_type_from_type_lookup_service(), populate_dependencies_i(), and to_type_info().
|
pure virtual |
Implemented in DDS::DynamicTypeSupport.
Referenced by add_types(), get_type_from_type_lookup_service(), populate_dependencies_i(), and to_type_info().
|
inline |
Implements OpenDDS::DCPS::TypeSupport.
Definition at line 116 of file TypeSupportImpl.h.
References OpenDDS::STUN::encoding(), OpenDDS::DCPS::getCompleteTypeIdentifier(), OpenDDS::DCPS::getCompleteTypeMap(), OpenDDS::DCPS::getMinimalTypeIdentifier(), OpenDDS::DCPS::getMinimalTypeMap(), OpenDDS::XTypes::key_count(), and OpenDDS::XTypes::max_extensibility().
|
pure virtual |
Implemented in OpenDDS::DCPS::TypeSupportImpl_T< NativeType >, and DDS::DynamicTypeSupport.
Referenced by OpenDDS::DCPS::FilterEvaluator::has_non_key_fields().
|
pure virtual |
Implemented in OpenDDS::DCPS::TypeSupportImpl_T< NativeType >, and DDS::DynamicTypeSupport.
|
pure virtual |
Implemented in OpenDDS::DCPS::TypeSupportImpl_T< NativeType >, and DDS::DynamicTypeSupport.
|
pure virtual |
Between the topic type and its nested types, return the extensibility that is furthest right in (final, appenable, mutable).
Implemented in OpenDDS::DCPS::TypeSupportImpl_T< NativeType >, and DDS::DynamicTypeSupport.
Referenced by OpenDDS::DCPS::DataWriterImpl::setup_serialization().
|
pure virtual |
Implemented in OpenDDS::DCPS::TypeSupportImpl_T< NativeType >, and DDS::DynamicTypeSupport.
Referenced by OpenDDS::DCPS::DataWriterImpl::get_or_create_instance_handle(), get_type_name(), populate_dependencies_i(), register_type(), OpenDDS::DCPS::DataWriterImpl::setup_serialization(), and to_type_info_i().
|
private |
Definition at line 155 of file TypeSupportImpl.cpp.
References OpenDDS::XTypes::Sequence< T >::append(), OpenDDS::XTypes::compute_dependencies(), OpenDDS::XTypes::EK_COMPLETE, OpenDDS::XTypes::EK_MINIMAL, OpenDDS::XTypes::get_typeobject_encoding(), getCompleteTypeIdentifier(), getCompleteTypeMap(), getMinimalTypeIdentifier(), getMinimalTypeMap(), OpenDDS::XTypes::has_type_object(), name(), OpenDDS::DCPS::OPENDDS_SET(), and OpenDDS::DCPS::serialized_size().
Referenced by add_types().
|
inlinevirtual |
Reimplemented in DDS::DynamicTypeSupport.
Definition at line 136 of file TypeSupportImpl.h.
Referenced by add_types(), and to_type_info().
|
virtual |
Definition at line 25 of file TypeSupportImpl.cpp.
References name(), and Registered_Data_Types.
|
pure virtual |
Implemented in OpenDDS::DCPS::TypeSupportImpl_T< NativeType >, and DDS::DynamicTypeSupport.
void OpenDDS::DCPS::TypeSupportImpl::to_type_info | ( | XTypes::TypeInformation & | type_info | ) | const |
Definition at line 97 of file TypeSupportImpl.cpp.
References OpenDDS::XTypes::TypeInformation::complete, getCompleteTypeIdentifier(), getCompleteTypeMap(), getMinimalTypeIdentifier(), getMinimalTypeMap(), OpenDDS::XTypes::TypeIdentifier::kind(), OpenDDS::XTypes::TypeInformation::minimal, preset_type_info(), OpenDDS::XTypes::TK_NONE, and to_type_info_i().
Referenced by OpenDDS::DCPS::DataWriterImpl::enable(), and OpenDDS::DCPS::DataReaderImpl::enable().
|
private |
Definition at line 70 of file TypeSupportImpl.cpp.
References OpenDDS::XTypes::TypeIdentifierWithDependencies::dependent_typeid_count, OpenDDS::STUN::encoding(), OpenDDS::DCPS::Service_Participant::Encoding_WriteOldFormat, OpenDDS::XTypes::get_typeobject_encoding(), OpenDDS::XTypes::makeTypeIdentifier(), name(), OpenDDS::DCPS::serialized_size(), OpenDDS::DCPS::Encoding::skip_sequence_dheader(), TheServiceParticipant, OpenDDS::XTypes::TypeIdentifierWithSize::type_id, TYPE_INFO_DEPENDENT_COUNT_NOT_PROVIDED, OpenDDS::XTypes::TypeIdentifierWithDependencies::typeid_with_size, and OpenDDS::XTypes::TypeIdentifierWithSize::typeobject_serialized_size.
Referenced by to_type_info().
|
virtual |
Definition at line 34 of file TypeSupportImpl.cpp.
References Registered_Data_Types, and DDS::RETCODE_BAD_PARAMETER.
|
protected |
Definition at line 147 of file TypeSupportImpl.h.
Referenced by get_type_from_type_lookup_service().
|
staticprivate |
Definition at line 151 of file TypeSupportImpl.h.
Referenced by to_type_info_i().
|
private |
Definition at line 161 of file TypeSupportImpl.h.
Referenced by get_type_from_type_lookup_service().