DDS-PSM-C++  1.0
ISO C++ API for OpenSplice DDS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Types | Public Member Functions | Protected Member Functions | List of all members
dds::topic::TopicDescription< T, DELEGATE > Class Template Reference

#include <TTopicDescription.hpp>

Inheritance diagram for dds::topic::TopicDescription< T, DELEGATE >:
Inheritance graph
[legend]

Public Types

typedef T DataType
 

Public Member Functions

virtual ~TopicDescription ()
 
const
dds::domain::DomainParticipant
domain_participant () const
 
const std::string & name () const
 
const std::string & type_name () const
 
- Public Member Functions inherited from dds::core::TEntity< DELEGATE< T > >
 ~TEntity ()
 
void close ()
 
void enable ()
 
const dds::core::InstanceHandle instance_handle () const
 
void retain ()
 
const dds::core::status::StatusMask status_changes ()
 
- Public Member Functions inherited from dds::core::Reference< DELEGATE< T > >
 Reference (dds::core::null_type &)
 
 Reference (const Reference &ref)
 
 Reference (const Reference< D > &ref)
 
 Reference (DELEGATE_T *p)
 
 ~Reference ()
 
const DELEGATE_REF_T & delegate () const
 
DELEGATE_REF_T & delegate ()
 
bool is_nil () const
 
 operator const DELEGATE_REF_T & () const
 
 operator DELEGATE_REF_T () const
 
 operator DELEGATE_REF_T & ()
 
bool operator!= (const R &ref) const
 
bool operator!= (const null_type nil) const
 
DELEGATE< T > * operator-> ()
 
const DELEGATE< T > * operator-> () const
 
Referenceoperator= (const Reference< D > &that)
 
Referenceoperator= (const R &rhs)
 
Referenceoperator= (const null_type)
 
bool operator== (const R &ref) const
 
bool operator== (const null_type) const
 

Protected Member Functions

 TopicDescription (const dds::domain::DomainParticipant &dp, const std::string &name, const std::string &type_name=dds::topic::topic_type_name< T >::value())
 

Additional Inherited Members

- Protected Attributes inherited from dds::core::Reference< DELEGATE< T > >
DELEGATE_REF_T impl_
 

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 41 of file TTopicDescription.hpp.

Member Typedef Documentation

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

Definition at line 43 of file TTopicDescription.hpp.

Constructor & Destructor Documentation

template<typename T, template< typename Q > class DELEGATE>
virtual dds::topic::TopicDescription< T, DELEGATE >::~TopicDescription ( )
virtual
template<typename T, template< typename Q > class DELEGATE>
dds::topic::TopicDescription< T, DELEGATE >::TopicDescription ( const dds::domain::DomainParticipant dp,
const std::string &  name,
const std::string &  type_name = dds::topic::topic_type_name< T >::value() 
)
protected

Member Function Documentation

template<typename T, template< typename Q > class DELEGATE>
const dds::domain::DomainParticipant& dds::topic::TopicDescription< T, DELEGATE >::domain_participant ( ) const
template<typename T, template< typename Q > class DELEGATE>
const std::string& dds::topic::TopicDescription< T, DELEGATE >::name ( ) const

Get the name used to create the TopicDescription.

template<typename T, template< typename Q > class DELEGATE>
const std::string& dds::topic::TopicDescription< T, DELEGATE >::type_name ( ) const

The type_name used to create the TopicDescription.


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