OpenDDS  Snapshot(2023/04/07-19:43)
Public Types | Public Member Functions | List of all members
OpenDDS::DCPS::TypeSupportImpl_T< NativeType > Class Template Reference

#include <TypeSupportImpl.h>

Inheritance diagram for OpenDDS::DCPS::TypeSupportImpl_T< NativeType >:
Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::TypeSupportImpl_T< NativeType >:
Collaboration graph
[legend]

Public Types

typedef DDSTraits< NativeType > TraitsType
 
typedef MarshalTraits< NativeType > MarshalTraitsType
 
- Public Types inherited from OpenDDS::DCPS::LocalObject< TypeSupport >
typedef TypeSupport ::_ptr_type _ptr_type
 
typedef TypeSupport ::_var_type _var_type
 
- Public Types inherited from CORBA::LocalObject
typedef LocalObject_ptr _ptr_type
 
typedef LocalObject_var _var_type
 
typedef LocalObject_out _out_type
 
- Public Types inherited from CORBA::Object
typedef Object_ptr _ptr_type
 
typedef Object_var _var_type
 
typedef Object_out _out_type
 

Public Member Functions

const char * name () const
 
size_t key_count () const
 
bool is_dcps_key (const char *fieldname) const
 
void representations_allowed_by_type (DDS::DataRepresentationIdSeq &seq)
 
Extensibility base_extensibility () const
 Returns the extensibility of just the topic type. More...
 
Extensibility max_extensibility () const
 
SerializedSizeBound serialized_size_bound (const Encoding &encoding) const
 
SerializedSizeBound key_only_serialized_size_bound (const Encoding &encoding) const
 
DDS::DynamicType_ptr get_type ()
 
- Public Member Functions inherited from OpenDDS::DCPS::TypeSupportImpl
 TypeSupportImpl ()
 
 TypeSupportImpl (DDS::DynamicType_ptr type)
 
virtual ~TypeSupportImpl ()
 
virtual const MetaStructgetMetaStructForType () const =0
 
virtual DDS::ReturnCode_t register_type (DDS::DomainParticipant_ptr participant, const char *type_name)
 
virtual DDS::ReturnCode_t unregister_type (DDS::DomainParticipant_ptr participant, const char *type_name)
 
virtual char * get_type_name ()
 
virtual DDS::DynamicType_ptr get_type () const
 
DDS::DynamicType_ptr get_type ()
 
bool has_dcps_key ()
 
virtual const XTypes::TypeIdentifiergetMinimalTypeIdentifier () const =0
 
virtual const XTypes::TypeMap & getMinimalTypeMap () const =0
 
virtual const XTypes::TypeIdentifiergetCompleteTypeIdentifier () const =0
 
virtual const XTypes::TypeMap & getCompleteTypeMap () const =0
 
void to_type_info (XTypes::TypeInformation &type_info) const
 
virtual const XTypes::TypeInformationpreset_type_info () const
 
void add_types (const XTypes::TypeLookupService_rch &tls) const
 
- Public Member Functions inherited from OpenDDS::DCPS::TypeSupport
::DDS::DataWriter create_datawriter ()
 
::DDS::DataReader create_datareader ()
 
::DDS::DataReader create_multitopic_datareader ()
 
::DDS::ReturnCode_t unregister_type (in ::DDS::DomainParticipant domain, in string type_name)
 
void representations_allowed_by_type (inout ::DDS::DataRepresentationIdSeq seq)
 Get allowed representations defined by IDL annotations. More...
 
- Public Member Functions inherited from DDS::TypeSupport
ReturnCode_t register_type (in DomainParticipant domain, in string type_name)
 
 OpenDDS::hidden_op_in_java ("return 0;") DynamicType get_type()
 
- Public Member Functions inherited from OpenDDS::DCPS::LocalObjectBase
virtual void _add_ref ()
 
virtual void _remove_ref ()
 
virtual CORBA::ULong _refcount_value () const
 
- Public Member Functions inherited from CORBA::LocalObject
virtual ~LocalObject (void)
 
virtual CORBA::Boolean _non_existent (void)
 
virtual char * _repository_id (void)
 
virtual CORBA::InterfaceDef_ptr _get_interface (void)
 
virtual CORBA::Object_ptr _get_component (void)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual CORBA::Request_ptr _request (const char *operation)
 
CORBA::Policy_ptr _get_policy (CORBA::PolicyType type)
 
CORBA::Policy_ptr _get_cached_policy (TAO_Cached_Policy_Type type)
 
CORBA::Object_ptr _set_policy_overrides (const CORBA::PolicyList &policies, CORBA::SetOverrideType set_add)
 
CORBA::PolicyList_get_policy_overrides (const CORBA::PolicyTypeSeq &types)
 
CORBA::Boolean _validate_connection (CORBA::PolicyList_out inconsistent_policies)
 
virtual CORBA::ULong _hash (CORBA::ULong maximum)
 
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
 
virtual CORBA::ORB_ptr _get_orb (void)
 
virtual TAO::ObjectKey_key (void)
 
- Public Member Functions inherited from CORBA::Object
virtual ~Object (void)
 
virtual TAO_Abstract_ServantBase_servant (void) const
 
virtual CORBA::Boolean _is_collocated (void) const
 
virtual CORBA::Boolean _is_local (void) const
 
 Object (TAO_Stub *p, CORBA::Boolean collocated=false, TAO_Abstract_ServantBase *servant=0, TAO_ORB_Core *orb_core=0)
 
 Object (IOP::IOR *ior, TAO_ORB_Core *orb_core)
 
virtual TAO_Stub_stubobj (void) const
 
virtual TAO_Stub_stubobj (void)
 
virtual void _proxy_broker (TAO::Object_Proxy_Broker *proxy_broker)
 
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 
CORBA::Boolean is_evaluated (void) const
 
TAO_ORB_Coreorb_core (void) const
 
IOP::IORsteal_ior (void)
 
const IOP::IORior (void) const
 
virtual bool can_convert_to_ior (void) const
 
virtual char * convert_to_ior (bool use_omg_ior_format, const char *ior_prefix) const
 
void _decr_refcount (void)
 
virtual CORBA::Boolean _is_a (const char *logical_type_id)
 
virtual const char * _interface_repository_id (void) const
 
CORBA::Policy_ptr _get_policy (CORBA::PolicyType type)
 
CORBA::Policy_ptr _get_cached_policy (TAO_Cached_Policy_Type type)
 
CORBA::Object_ptr _set_policy_overrides (const CORBA::PolicyList &policies, CORBA::SetOverrideType set_add)
 
CORBA::PolicyList_get_policy_overrides (const CORBA::PolicyTypeSeq &types)
 
CORBA::Boolean _validate_connection (CORBA::PolicyList_out inconsistent_policies)
 
- Public Member Functions inherited from OpenDDS::DCPS::RcObject
virtual ~RcObject ()
 
long ref_count () const
 
WeakObject_get_weak_object () const
 

Additional Inherited Members

- Static Public Member Functions inherited from OpenDDS::DCPS::LocalObject< TypeSupport >
static _ptr_type _narrow (CORBA::Object_ptr obj)
 
- Static Public Member Functions inherited from CORBA::LocalObject
static LocalObject_ptr _duplicate (LocalObject_ptr obj)
 
static LocalObject_ptr _nil (void)
 
static LocalObject_ptr _narrow (CORBA::Object_ptr obj)
 
- Static Public Member Functions inherited from CORBA::Object
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
 
static void _tao_any_destructor (void *)
 
static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj)
 
static void tao_object_initialize (Object *)
 
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
 
static CORBA::Object_ptr _nil (void)
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 
- Protected Member Functions inherited from OpenDDS::DCPS::TypeSupportImpl
void get_type_from_type_lookup_service ()
 
- Protected Member Functions inherited from CORBA::LocalObject
 LocalObject (void)
 
- Protected Member Functions inherited from CORBA::Object
 Object (int dummy=0)
 
TAO::Object_Proxy_Brokerproxy_broker () const
 
- Protected Member Functions inherited from OpenDDS::DCPS::RcObject
 RcObject ()
 
- Protected Attributes inherited from OpenDDS::DCPS::TypeSupportImpl
DDS::DynamicType_var type_
 
- Protected Attributes inherited from CORBA::Object
ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > refcount_
 

Detailed Description

template<typename NativeType>
class OpenDDS::DCPS::TypeSupportImpl_T< NativeType >

Definition at line 168 of file TypeSupportImpl.h.

Member Typedef Documentation

◆ MarshalTraitsType

template<typename NativeType >
typedef MarshalTraits<NativeType> OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::MarshalTraitsType

Definition at line 171 of file TypeSupportImpl.h.

◆ TraitsType

template<typename NativeType >
typedef DDSTraits<NativeType> OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::TraitsType

Definition at line 170 of file TypeSupportImpl.h.

Member Function Documentation

◆ base_extensibility()

template<typename NativeType >
Extensibility OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::base_extensibility ( ) const
inlinevirtual

Returns the extensibility of just the topic type.

Implements OpenDDS::DCPS::TypeSupportImpl.

Definition at line 193 of file TypeSupportImpl.h.

References OpenDDS::XTypes::extensibility().

194  {
196  }
extensibility(MUTABLE) struct TypeLookup_getTypes_In
Definition: TypeLookup.idl:29

◆ get_type()

template<typename NativeType >
DDS::DynamicType_ptr OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::get_type ( void  )
inline

Definition at line 214 of file TypeSupportImpl.h.

References OpenDDS::DCPS::TypeSupportImpl::get_type().

215  {
217  return TypeSupportImpl::get_type();
218  }
virtual DDS::DynamicType_ptr get_type() const

◆ is_dcps_key()

template<typename NativeType >
bool OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::is_dcps_key ( const char *  fieldname) const
inlinevirtual

Implements OpenDDS::DCPS::TypeSupportImpl.

Definition at line 183 of file TypeSupportImpl.h.

References OpenDDS::XTypes::is_key().

184  {
185  return TraitsType::is_key(fieldname);
186  }
bool is_key(DDS::DynamicType_ptr type, const char *field)

◆ key_count()

template<typename NativeType >
size_t OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::key_count ( ) const
inlinevirtual

Implements OpenDDS::DCPS::TypeSupportImpl.

Definition at line 178 of file TypeSupportImpl.h.

References OpenDDS::XTypes::key_count().

179  {
180  return TraitsType::key_count();
181  }
DDS::ReturnCode_t key_count(DDS::DynamicType_ptr type, size_t &count)

◆ key_only_serialized_size_bound()

template<typename NativeType >
SerializedSizeBound OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::key_only_serialized_size_bound ( const Encoding encoding) const
inlinevirtual

Implements OpenDDS::DCPS::TypeSupportImpl.

Definition at line 208 of file TypeSupportImpl.h.

209  {
210  return MarshalTraitsType::key_only_serialized_size_bound(encoding);
211  }
const DCPS::Encoding encoding(DCPS::Encoding::KIND_UNALIGNED_CDR, DCPS::ENDIAN_BIG)

◆ max_extensibility()

template<typename NativeType >
Extensibility OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::max_extensibility ( ) const
inlinevirtual

Between the topic type and its nested types, return the extensibility that is furthest right in (final, appenable, mutable).

Implements OpenDDS::DCPS::TypeSupportImpl.

Definition at line 198 of file TypeSupportImpl.h.

199  {
200  return MarshalTraitsType::max_extensibility_level();
201  }

◆ name()

template<typename NativeType >
const char* OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::name ( void  ) const
inlinevirtual

Implements OpenDDS::DCPS::TypeSupportImpl.

Definition at line 173 of file TypeSupportImpl.h.

174  {
175  return TraitsType::type_name();
176  }

◆ representations_allowed_by_type()

template<typename NativeType >
void OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::representations_allowed_by_type ( DDS::DataRepresentationIdSeq seq)
inline

Definition at line 188 of file TypeSupportImpl.h.

189  {
190  MarshalTraitsType::representations_allowed_by_type(seq);
191  }

◆ serialized_size_bound()

template<typename NativeType >
SerializedSizeBound OpenDDS::DCPS::TypeSupportImpl_T< NativeType >::serialized_size_bound ( const Encoding encoding) const
inlinevirtual

Implements OpenDDS::DCPS::TypeSupportImpl.

Definition at line 203 of file TypeSupportImpl.h.

204  {
205  return MarshalTraitsType::serialized_size_bound(encoding);
206  }
const DCPS::Encoding encoding(DCPS::Encoding::KIND_UNALIGNED_CDR, DCPS::ENDIAN_BIG)

The documentation for this class was generated from the following file: