Public Types | Public Member Functions

TopicDescription< T, DELEGATE > Class Template Reference

#include <TopicDescription.hpp>

Inheritance diagram for TopicDescription< T, DELEGATE >:

List of all members.

Public Types

typedef T DataType
typedef DELEGATE< T > DELEGATE_T
typedef
::dds::core::smart_ptr_traits
< DELEGATE< T > >::ref_type 
DELEGATE_REF_T
typedef
::dds::core::smart_ptr_traits
< DELEGATE< T >
>::weak_ref_type 
DELEGATE_WEAK_REF_T
typedef tdds::core::Entity
< DELEGATE< T > > 
BASE_T

Public Member Functions

template<typename T__ >
TopicDescriptionoperator= (const T__ &rhs)
 TopicDescription (DELEGATE_T *p)
 TopicDescription (const DELEGATE_REF_T &ref)
template<typename H__ >
 TopicDescription (const H__ &h)
 TopicDescription ()
 ~TopicDescription ()
const std::string & name () const
const std::string & type_name () const

Detailed Description

template<typename T, template< typename Q > class DELEGATE>
class dds::topic::TopicDescription< T, DELEGATE >

TopicDescription represents the fact that both publications and subscriptions are tied to a single data-type. Its attribute type_name defines a unique resulting type for the publication or the subscription and therefore creates an implicit association with a TypeSupport. TopicDescription has also a name that allows it to be retrieved locally.

Definition at line 38 of file TopicDescription.hpp.


Member Typedef Documentation

typedef tdds::core::Entity< DELEGATE<T> > BASE_T
typedef T DataType

Definition at line 40 of file TopicDescription.hpp.

typedef ::dds::core::smart_ptr_traits< DELEGATE<T> >::ref_type DELEGATE_REF_T
typedef DELEGATE<T> DELEGATE_T
typedef ::dds::core::smart_ptr_traits< DELEGATE<T> >::weak_ref_type DELEGATE_WEAK_REF_T

Constructor & Destructor Documentation

TopicDescription ( DELEGATE_T p  )  [inline, explicit]

Definition at line 43 of file TopicDescription.hpp.

TopicDescription ( const DELEGATE_REF_T ref  )  [inline, explicit]

Definition at line 43 of file TopicDescription.hpp.

TopicDescription ( const H__ &  h  )  [inline]

Definition at line 43 of file TopicDescription.hpp.

TopicDescription (  )  [inline]

Definition at line 43 of file TopicDescription.hpp.

~TopicDescription (  )  [inline]

Definition at line 46 of file TopicDescription.hpp.


Member Function Documentation

const std::string& name (  )  const [inline]

Get the name used to create the TopicDescription.

Definition at line 52 of file TopicDescription.hpp.

TopicDescription& operator= ( const T__ &  rhs  )  [inline]
const std::string& type_name (  )  const [inline]

The type_name used to create the TopicDescription.

Definition at line 59 of file TopicDescription.hpp.


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