Public Types | Public Member Functions

Subscriber< DELEGATE > Class Template Reference

#include <Subscriber.hpp>

Inheritance diagram for Subscriber< DELEGATE >:

List of all members.

Public Types

typedef DELEGATE DELEGATE_T
typedef
::dds::core::smart_ptr_traits
< DELEGATE >::ref_type 
DELEGATE_REF_T
typedef
::dds::core::smart_ptr_traits
< DELEGATE >::weak_ref_type 
DELEGATE_WEAK_REF_T
typedef tdds::core::Entity
< DELEGATE > 
BASE_T
typedef
dds::sub::SubscriberListener 
Listener
typedef
dds::core::cond::StatusCondition
< Subscriber
StatusCondition

Public Member Functions

template<typename T__ >
Subscriberoperator= (const T__ &rhs)
 Subscriber (DELEGATE_T *p)
 Subscriber (const DELEGATE_REF_T &ref)
template<typename H__ >
 Subscriber (const H__ &h)
 Subscriber ()
 ~Subscriber ()
StatusCondition status_condition () const
void notify_datareaders ()
void listener (Listener *, const dds::core::status::StatusMask &event_mask)
Listenerlistener () const
const dds::sub::qos::SubscriberQos qos () const
void qos (const dds::sub::qos::SubscriberQos &the_qos)
template<typename T >
dds::sub::DataReader< T > create_datareader (const dds::topic::TopicDescription< T > &a_topic)
template<typename T >
dds::sub::DataReader< T > create_datareader (const dds::topic::TopicDescription< T > &a_topic, const dds::sub::qos::DataReaderQos &a_qos, dds::sub::DataReaderListener< T > *a_listener=NULL, const dds::core::status::StatusMask &a_mask=dds::core::status::StatusMask::all())
template<typename T >
dds::sub::DataReader< T > create_datareader (const dds::topic::TopicDescription< T > &a_topic, const std::string &qos_library_name, const std::string &qos_profile_name, dds::sub::DataReaderListener< T > *a_listener=NULL, const dds::core::status::StatusMask &a_mask=dds::core::status::StatusMask::all())
const dds::sub::qos::DataReaderQos default_datareader_qos () const
void default_datareader_qos (const dds::sub::qos::DataReaderQos &qos)
void default_datareader_qos (const std::string &qos_library_name, const std::string &qos_profile_name)

Detailed Description

template<typename DELEGATE>
class tdds::sub::Subscriber< DELEGATE >

Definition at line 33 of file Subscriber.hpp.


Member Typedef Documentation

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

Reimplemented from Entity< DELEGATE >.

Definition at line 35 of file Subscriber.hpp.

typedef ::dds::core::smart_ptr_traits< DELEGATE >::ref_type DELEGATE_REF_T

Reimplemented from Entity< DELEGATE >.

Definition at line 35 of file Subscriber.hpp.

typedef DELEGATE DELEGATE_T

Reimplemented from Entity< DELEGATE >.

Definition at line 35 of file Subscriber.hpp.

typedef ::dds::core::smart_ptr_traits< DELEGATE >::weak_ref_type DELEGATE_WEAK_REF_T

Reimplemented from Entity< DELEGATE >.

Definition at line 35 of file Subscriber.hpp.

Definition at line 38 of file Subscriber.hpp.

Definition at line 39 of file Subscriber.hpp.


Constructor & Destructor Documentation

Subscriber ( DELEGATE_T p  )  [inline, explicit]

Definition at line 35 of file Subscriber.hpp.

Subscriber ( const DELEGATE_REF_T ref  )  [inline, explicit]

Definition at line 35 of file Subscriber.hpp.

Subscriber ( const H__ &  h  )  [inline]

Definition at line 35 of file Subscriber.hpp.

Subscriber (  )  [inline]

Definition at line 35 of file Subscriber.hpp.

~Subscriber (  )  [inline]

Definition at line 42 of file Subscriber.hpp.


Member Function Documentation

dds::sub::DataReader<T> create_datareader ( const dds::topic::TopicDescription< T > &  a_topic  ) 
dds::sub::DataReader< T > create_datareader ( const dds::topic::TopicDescription< T > &  a_topic,
const dds::sub::qos::DataReaderQos a_qos,
dds::sub::DataReaderListener< T > *  a_listener = NULL,
const dds::core::status::StatusMask a_mask = dds::core::status::StatusMask::all() 
)

Definition at line 28 of file Subscriber.hpp.

dds::sub::DataReader<T> create_datareader ( const dds::topic::TopicDescription< T > &  a_topic,
const std::string &  qos_library_name,
const std::string &  qos_profile_name,
dds::sub::DataReaderListener< T > *  a_listener = NULL,
const dds::core::status::StatusMask a_mask = dds::core::status::StatusMask::all() 
)
const dds::sub::qos::DataReaderQos default_datareader_qos (  )  const
void default_datareader_qos ( const dds::sub::qos::DataReaderQos qos  ) 
void default_datareader_qos ( const std::string &  qos_library_name,
const std::string &  qos_profile_name 
)
void listener ( Listener ,
const dds::core::status::StatusMask event_mask 
)
Listener* listener (  )  const
void notify_datareaders (  )  [inline]

This operation invokes the operation on_data_available on the DataReaderListener objects attached to contained DataReader entities with a DATA_AVAILABLE status that is considered changed as described in Section 7.1.4.2.2, Changes in Read Communication Statuses.

Definition at line 65 of file Subscriber.hpp.

Subscriber& operator= ( const T__ &  rhs  )  [inline]

Reimplemented from Entity< DELEGATE >.

Definition at line 35 of file Subscriber.hpp.

const dds::sub::qos::SubscriberQos qos (  )  const [inline]

Definition at line 76 of file Subscriber.hpp.

void qos ( const dds::sub::qos::SubscriberQos the_qos  )  [inline]

Definition at line 80 of file Subscriber.hpp.

StatusCondition status_condition (  )  const [inline]

This operation allows access to the StatusCondition (Section 7.1.2.1.9, “StatusCondition Class) associated with the Entity. The returned condition can then be added to a WaitSet (Section 7.1.2.1.6, WaitSet Class) so that the application can wait for specific status changes that affect the Entity.

Returns:
the status condition

Definition at line 53 of file Subscriber.hpp.


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