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, RcHandle< WriterInfo > info)
virtual void execute ()

Detailed Description

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

Definition at line 78 of file RemoveAssociationSweeper.h.


Constructor & Destructor Documentation

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

Definition at line 80 of file RemoveAssociationSweeper.h.

00082       : CommandBase(sweeper, info)
00083     { }


Member Function Documentation

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

Definition at line 196 of file RemoveAssociationSweeper.h.

References OpenDDS::DCPS::DCPS_debug_level, OpenDDS::DCPS::RcHandle< T >::in(), OpenDDS::DCPS::RemoveAssociationSweeper< T >::CommandBase::info_, LM_INFO, OpenDDS::DCPS::WriterInfo::NO_TIMER, and OpenDDS::DCPS::RemoveAssociationSweeper< T >::CommandBase::sweeper_.

00197 {
00198   if (this->info_->remove_association_timer_ != WriterInfo::NO_TIMER) {
00199       this->sweeper_->reactor()->cancel_timer(this->info_->remove_association_timer_);
00200     if (DCPS_debug_level) {
00201       ACE_DEBUG((LM_INFO, "(%P|%t) RemoveAssociationSweeper::CancelCommand::execute() - Unscheduled sweeper %d\n", this->info_->remove_association_timer_));
00202     }
00203     this->info_->remove_association_timer_ = WriterInfo::NO_TIMER;
00204     this->sweeper_->remove_info(this->info_.in());
00205   }
00206 }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1