OpenDDS::DCPS::DRPeriodicMonitorImpl Class Reference

#include <DRPeriodicMonitorImpl.h>

Inheritance diagram for OpenDDS::DCPS::DRPeriodicMonitorImpl:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::DRPeriodicMonitorImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DRPeriodicMonitorImpl (DataReaderImpl *dr, OpenDDS::DCPS::DataReaderPeriodicReportDataWriter_ptr dr_per_writer)
virtual ~DRPeriodicMonitorImpl ()
virtual void report ()

Private Attributes

DataReaderImpldr_
OpenDDS::DCPS::DataReaderPeriodicReportDataWriter_var dr_per_writer_

Detailed Description

Definition at line 22 of file DRPeriodicMonitorImpl.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::DRPeriodicMonitorImpl::DRPeriodicMonitorImpl ( DataReaderImpl dr,
OpenDDS::DCPS::DataReaderPeriodicReportDataWriter_ptr  dr_per_writer 
)

Definition at line 18 of file DRPeriodicMonitorImpl.cpp.

00020   : dr_(dr),
00021     dr_per_writer_(DataReaderPeriodicReportDataWriter::_duplicate(dr_per_writer))
00022 {
00023 }

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

Definition at line 25 of file DRPeriodicMonitorImpl.cpp.

00026 {
00027 }


Member Function Documentation

void OpenDDS::DCPS::DRPeriodicMonitorImpl::report (  )  [virtual]

Implements OpenDDS::DCPS::Monitor.

Definition at line 30 of file DRPeriodicMonitorImpl.cpp.

References dr_, dr_per_writer_, OpenDDS::DCPS::DataReaderImpl::get_subscription_id(), and DDS::HANDLE_NIL.

00030                               {
00031   if (!CORBA::is_nil(this->dr_per_writer_.in())) {
00032     DataReaderPeriodicReport report;
00033     report.dr_id   = dr_->get_subscription_id();
00034     //report.associations = dr_->
00035     this->dr_per_writer_->write(report, DDS::HANDLE_NIL);
00036   }
00037 }


Member Data Documentation

DataReaderImpl* OpenDDS::DCPS::DRPeriodicMonitorImpl::dr_ [private]

Definition at line 30 of file DRPeriodicMonitorImpl.h.

Referenced by report().

OpenDDS::DCPS::DataReaderPeriodicReportDataWriter_var OpenDDS::DCPS::DRPeriodicMonitorImpl::dr_per_writer_ [private]

Definition at line 31 of file DRPeriodicMonitorImpl.h.

Referenced by report().


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