OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CancelCommand Class Reference

Inheritance diagram for OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CancelCommand:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CancelCommand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CancelCommand (EndHistoricSamplesMissedSweeper *sweeper, OpenDDS::DCPS::RcHandle< OpenDDS::DCPS::WriterInfo > &info)
virtual void execute ()

Detailed Description

Definition at line 161 of file DataReaderImpl.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CancelCommand::CancelCommand ( EndHistoricSamplesMissedSweeper sweeper,
OpenDDS::DCPS::RcHandle< OpenDDS::DCPS::WriterInfo > &  info 
) [inline]

Definition at line 163 of file DataReaderImpl.h.

00165       : CommandBase(sweeper, info)
00166     { }


Member Function Documentation

void OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CancelCommand::execute (  )  [virtual]

Definition at line 3442 of file DataReaderImpl.cpp.

References OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::cancel_timer(), OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CommandBase::info_, OpenDDS::DCPS::WriterInfo::NO_TIMER, and OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CommandBase::sweeper_.

03443 {
03444   if (info_->historic_samples_timer_ != WriterInfo::NO_TIMER) {
03445     sweeper_->reactor()->cancel_timer(info_->historic_samples_timer_);
03446     if (DCPS_debug_level) {
03447       ACE_DEBUG((LM_INFO, "(%P|%t) EndHistoricSamplesMissedSweeper::CancelCommand::execute() - Unscheduled sweeper %d\n", info_->historic_samples_timer_));
03448     }
03449     info_->historic_samples_timer_ = WriterInfo::NO_TIMER;
03450     info_->_remove_ref();
03451   }
03452 }


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