OpenDDS::DCPS::RemoveAssociationSweeper< T >::CancelCommand Class Reference

Inheritance diagram for OpenDDS::DCPS::RemoveAssociationSweeper< T >::CancelCommand:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::RemoveAssociationSweeper< T >::CancelCommand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

template<typename T>
class OpenDDS::DCPS::RemoveAssociationSweeper< T >::CancelCommand

Definition at line 72 of file RemoveAssociationSweeper.h.


Constructor & Destructor Documentation

template<typename T>
OpenDDS::DCPS::RemoveAssociationSweeper< T >::CancelCommand::CancelCommand ( RemoveAssociationSweeper< T > *  sweeper,
OpenDDS::DCPS::RcHandle< OpenDDS::DCPS::WriterInfo > &  info 
) [inline]

Definition at line 74 of file RemoveAssociationSweeper.h.

00076       : CommandBase(sweeper, info)
00077     { }


Member Function Documentation

template<typename T>
void OpenDDS::DCPS::RemoveAssociationSweeper< T >::CancelCommand::execute (  )  [virtual]

Definition at line 151 of file RemoveAssociationSweeper.h.

References OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::RemoveAssociationSweeper< T >::CommandBase::info_, OpenDDS::DCPS::WriterInfo::NO_TIMER, and OpenDDS::DCPS::RemoveAssociationSweeper< T >::CommandBase::sweeper_.

00152 {
00153   if (this->info_->remove_association_timer_ != WriterInfo::NO_TIMER) {
00154       this->sweeper_->reactor()->cancel_timer(this->info_->remove_association_timer_);
00155     if (DCPS_debug_level) {
00156       ACE_DEBUG((LM_INFO, "(%P|%t) RemoveAssociationSweeper::CancelCommand::execute() - Unscheduled sweeper %d\n", this->info_->remove_association_timer_));
00157     }
00158     this->info_->remove_association_timer_ = WriterInfo::NO_TIMER;
00159     this->info_->_remove_ref();
00160   }
00161 }


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