OpenDDS::DCPS::Replayer Class Reference

Send raw data samples in the system. More...

#include <Replayer.h>

Inheritance diagram for OpenDDS::DCPS::Replayer:

Inheritance graph
[legend]
List of all members.

Public Types

typedef Replayer_ptr _ptr_type
typedef Replayer_var _var_type

Public Member Functions

virtual ~Replayer ()
virtual void _add_ref ()=0
virtual void _remove_ref ()=0
virtual DDS::ReturnCode_t write (const RawDataSample &sample)=0
virtual DDS::ReturnCode_t write_to_reader (DDS::InstanceHandle_t subscription, const RawDataSample &sample)=0
virtual DDS::ReturnCode_t write_to_reader (DDS::InstanceHandle_t subscription, const RawDataSampleList &samples)=0
virtual DDS::ReturnCode_t set_qos (const ::DDS::PublisherQos &publisher_qos, const DDS::DataWriterQos &datawriter_qos)=0
virtual DDS::ReturnCode_t get_qos (DDS::PublisherQos &publisher_qos, DDS::DataWriterQos &datawriter_qos)=0
virtual DDS::ReturnCode_t set_listener (const ReplayerListener_rch &a_listener, DDS::StatusMask mask=DEFAULT_STATUS_MASK)=0
virtual ReplayerListener_rch get_listener ()=0

Static Public Member Functions

static Replayer_ptr _duplicate (Replayer_ptr obj)

Detailed Description

Send raw data samples in the system.

This class is for sending raw sample data. Combined with data saved from a recorder, this allows the data to be replayed to DataReaders.

Definition at line 55 of file Replayer.h.


Member Typedef Documentation

typedef Replayer_ptr OpenDDS::DCPS::Replayer::_ptr_type

Definition at line 57 of file Replayer.h.

typedef Replayer_var OpenDDS::DCPS::Replayer::_var_type

Definition at line 58 of file Replayer.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::Replayer::~Replayer (  )  [virtual]

Definition at line 23 of file Replayer.cpp.

00024 {
00025 }


Member Function Documentation

virtual void OpenDDS::DCPS::Replayer::_add_ref (  )  [pure virtual]

Implemented in OpenDDS::DCPS::ReplayerImpl.

Referenced by _duplicate().

Replayer_ptr OpenDDS::DCPS::Replayer::_duplicate ( Replayer_ptr  obj  )  [static]

Definition at line 27 of file Replayer.cpp.

References _add_ref().

Referenced by OpenDDS::DCPS::DomainParticipantImpl::delete_replayer(), and TAO::Objref_Traits< OpenDDS::DCPS::Replayer >::duplicate().

00028 {
00029   if (obj) obj->_add_ref();
00030   return obj;
00031 }

virtual void OpenDDS::DCPS::Replayer::_remove_ref (  )  [pure virtual]

Implemented in OpenDDS::DCPS::ReplayerImpl.

Referenced by TAO::Objref_Traits< OpenDDS::DCPS::Replayer >::release().

virtual ReplayerListener_rch OpenDDS::DCPS::Replayer::get_listener (  )  [pure virtual]

Get the listener for this Replayer.

Implemented in OpenDDS::DCPS::ReplayerImpl.

virtual DDS::ReturnCode_t OpenDDS::DCPS::Replayer::get_qos ( DDS::PublisherQos publisher_qos,
DDS::DataWriterQos datawriter_qos 
) [pure virtual]

Get the Quality of Service settings for the Replayer.

Implemented in OpenDDS::DCPS::ReplayerImpl.

virtual DDS::ReturnCode_t OpenDDS::DCPS::Replayer::set_listener ( const ReplayerListener_rch a_listener,
DDS::StatusMask  mask = DEFAULT_STATUS_MASK 
) [pure virtual]

Change the listener for this Replayer.

Implemented in OpenDDS::DCPS::ReplayerImpl.

virtual DDS::ReturnCode_t OpenDDS::DCPS::Replayer::set_qos ( const ::DDS::PublisherQos publisher_qos,
const DDS::DataWriterQos datawriter_qos 
) [pure virtual]

Set the Quality of Service settings for the Replayer.

Implemented in OpenDDS::DCPS::ReplayerImpl.

virtual DDS::ReturnCode_t OpenDDS::DCPS::Replayer::write ( const RawDataSample sample  )  [pure virtual]

Send the sample to all associated DataReaders.

Note:
Only samples of type SAMPLE_DATA should be sent.

Implemented in OpenDDS::DCPS::ReplayerImpl.

virtual DDS::ReturnCode_t OpenDDS::DCPS::Replayer::write_to_reader ( DDS::InstanceHandle_t  subscription,
const RawDataSampleList &  samples 
) [pure virtual]

Send the samples to the specified DataReader.

Note:
Only samples of type SAMPLE_DATA should be sent.

Implemented in OpenDDS::DCPS::ReplayerImpl.

virtual DDS::ReturnCode_t OpenDDS::DCPS::Replayer::write_to_reader ( DDS::InstanceHandle_t  subscription,
const RawDataSample sample 
) [pure virtual]

Send the sample to the specified DataReader.

Note:
Only samples of type SAMPLE_DATA should be sent.

Implemented in OpenDDS::DCPS::ReplayerImpl.


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