Public Member Functions | |
ScheduleCommand (EndHistoricSamplesMissedSweeper *sweeper, OpenDDS::DCPS::RcHandle< OpenDDS::DCPS::WriterInfo > &info) | |
virtual void | execute () |
Definition at line 152 of file DataReaderImpl.h.
OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::ScheduleCommand::ScheduleCommand | ( | EndHistoricSamplesMissedSweeper * | sweeper, | |
OpenDDS::DCPS::RcHandle< OpenDDS::DCPS::WriterInfo > & | info | |||
) | [inline] |
void OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::ScheduleCommand::execute | ( | ) | [virtual] |
Definition at line 3426 of file DataReaderImpl.cpp.
References OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::RcHandle< T >::in(), OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CommandBase::info_, OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::schedule_timer(), and OpenDDS::DCPS::EndHistoricSamplesMissedSweeper::CommandBase::sweeper_.
03427 { 03428 static const ACE_Time_Value ten_seconds(10); 03429 03430 //Pass pointer to writer info for timer to use, must decrease ref count when canceling timer 03431 const void* arg = reinterpret_cast<const void*>(info_.in()); 03432 info_->_add_ref(); 03433 03434 info_->historic_samples_timer_ = sweeper_->reactor()->schedule_timer(sweeper_, 03435 arg, 03436 ten_seconds); 03437 if (DCPS_debug_level) { 03438 ACE_DEBUG((LM_INFO, "(%P|%t) EndHistoricSamplesMissedSweeper::ScheduleCommand::execute() - Scheduled sweeper %d\n", info_->historic_samples_timer_)); 03439 } 03440 }