Public Member Functions | |
CancelCommand (EndHistoricSamplesMissedSweeper *sweeper, OpenDDS::DCPS::RcHandle< OpenDDS::DCPS::WriterInfo > &info) | |
virtual void | execute () |
Definition at line 161 of file DataReaderImpl.h.
OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CancelCommand::CancelCommand | ( | EndHistoricSamplesMissedSweeper * | sweeper, | |
OpenDDS::DCPS::RcHandle< OpenDDS::DCPS::WriterInfo > & | info | |||
) | [inline] |
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 }