#include <DRPeriodicMonitorImpl.h>
Inheritance diagram for OpenDDS::DCPS::DRPeriodicMonitorImpl:
Public Member Functions | |
DRPeriodicMonitorImpl (DataReaderImpl *dr, OpenDDS::DCPS::DataReaderPeriodicReportDataWriter_ptr dr_per_writer) | |
virtual | ~DRPeriodicMonitorImpl () |
virtual void | report () |
Private Attributes | |
DataReaderImpl * | dr_ |
OpenDDS::DCPS::DataReaderPeriodicReportDataWriter_var | dr_per_writer_ |
Definition at line 22 of file DRPeriodicMonitorImpl.h.
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] |
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 }
OpenDDS::DCPS::DataReaderPeriodicReportDataWriter_var OpenDDS::DCPS::DRPeriodicMonitorImpl::dr_per_writer_ [private] |