OpenDDS::DCPS::TypeSupportImpl_T< MessageType > Class Template Reference

#include <TypeSupportImpl_T.h>

Inheritance diagram for OpenDDS::DCPS::TypeSupportImpl_T< MessageType >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef DDSTraits< MessageType > TraitsType
typedef TraitsType::TypeSupportType TypeSupportType
typedef OpenDDS::DCPS::LocalObject<
TypeSupportType >::_var_type 
_var_type
typedef OpenDDS::DCPS::LocalObject<
TypeSupportType >::_ptr_type 
_ptr_type

Public Member Functions

 TypeSupportImpl_T ()
virtual ~TypeSupportImpl_T ()
virtual ::DDS::DataWriter_ptr create_datawriter ()
virtual ::DDS::DataReader_ptr create_datareader ()
virtual ::DDS::DataReader_ptr create_multitopic_datareader ()
virtual const OpenDDS::DCPS::MetaStructgetMetaStructForType ()
virtual bool has_dcps_key ()
const char * default_type_name () const

Static Public Member Functions

static TraitsType::TypeSupportType::_ptr_type _narrow (CORBA::Object_ptr obj)

Detailed Description

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

Servant for TypeSupport interface of Traits::MessageType data type.

See the DDS specification, OMG formal/04-12-02, for a description of this interface.

Definition at line 21 of file TypeSupportImpl_T.h.


Member Typedef Documentation

template<typename MessageType>
typedef OpenDDS::DCPS::LocalObject<TypeSupportType>::_ptr_type OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::_ptr_type

Reimplemented from OpenDDS::DCPS::LocalObject< Stub >.

Definition at line 33 of file TypeSupportImpl_T.h.

template<typename MessageType>
typedef OpenDDS::DCPS::LocalObject<TypeSupportType>::_var_type OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::_var_type

Reimplemented from OpenDDS::DCPS::LocalObject< Stub >.

Definition at line 32 of file TypeSupportImpl_T.h.

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

Definition at line 30 of file TypeSupportImpl_T.h.

template<typename MessageType>
typedef TraitsType::TypeSupportType OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::TypeSupportType

Definition at line 31 of file TypeSupportImpl_T.h.


Constructor & Destructor Documentation

template<typename MessageType>
OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::TypeSupportImpl_T (  )  [inline]

Definition at line 35 of file TypeSupportImpl_T.h.

00035 { }

template<typename MessageType>
virtual OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::~TypeSupportImpl_T (  )  [inline, virtual]

Definition at line 36 of file TypeSupportImpl_T.h.

00036 { }


Member Function Documentation

template<typename MessageType>
static TraitsType::TypeSupportType::_ptr_type OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::_narrow ( CORBA::Object_ptr  obj  )  [inline, static]

Reimplemented from OpenDDS::DCPS::LocalObject< Stub >.

Definition at line 87 of file TypeSupportImpl_T.h.

00087                                                                                     {
00088       return TypeSupportType::_narrow(obj);
00089     }

template<typename MessageType>
virtual ::DDS::DataReader_ptr OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::create_datareader (  )  [inline]

Definition at line 50 of file TypeSupportImpl_T.h.

00051     {
00052       typedef DataReaderImpl_T<MessageType> DataReaderImplType;
00053 
00054       DataReaderImplType* reader_impl = 0;
00055       ACE_NEW_RETURN(reader_impl,
00056                      DataReaderImplType(),
00057                      ::DDS::DataReader::_nil());
00058 
00059       return reader_impl;
00060     }

template<typename MessageType>
virtual ::DDS::DataWriter_ptr OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::create_datawriter (  )  [inline]

Definition at line 38 of file TypeSupportImpl_T.h.

00039     {
00040       typedef DataWriterImpl_T<MessageType> DataWriterImplType;
00041 
00042       DataWriterImplType* writer_impl;
00043       ACE_NEW_RETURN(writer_impl,
00044                      DataWriterImplType(),
00045                      ::DDS::DataWriter::_nil());
00046 
00047       return writer_impl;
00048     }

template<typename MessageType>
virtual ::DDS::DataReader_ptr OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::create_multitopic_datareader (  )  [inline]

Definition at line 63 of file TypeSupportImpl_T.h.

00064     {
00065       typedef DataReaderImpl_T<MessageType> DataReaderImplType;
00066       return new OpenDDS::DCPS::MultiTopicDataReader_T<MessageType, DataReaderImplType>;
00067     }

template<typename MessageType>
const char* OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::default_type_name (  )  const [inline, virtual]

Implements OpenDDS::DCPS::TypeSupportImpl.

Definition at line 82 of file TypeSupportImpl_T.h.

00083     {
00084       return TraitsType::type_name();
00085     }

template<typename MessageType>
virtual const OpenDDS::DCPS::MetaStruct& OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::getMetaStructForType (  )  [inline, virtual]

Implements OpenDDS::DCPS::TypeSupportImpl.

Definition at line 71 of file TypeSupportImpl_T.h.

00072     {
00073       return OpenDDS::DCPS::getMetaStruct<MessageType>();
00074     }

template<typename MessageType>
virtual bool OpenDDS::DCPS::TypeSupportImpl_T< MessageType >::has_dcps_key (  )  [inline, virtual]

Definition at line 77 of file TypeSupportImpl_T.h.

00078     {
00079       return TraitsType::gen_has_key(MessageType());
00080     }


The documentation for this class was generated from the following file:
Generated on Fri Feb 12 20:06:40 2016 for OpenDDS by  doxygen 1.4.7