ESF_Delayed_Command.cpp

Go to the documentation of this file.
00001 // $Id: ESF_Delayed_Command.cpp 77031 2007-02-12 15:20:17Z johnnyw $
00002 
00003 #ifndef TAO_ESF_DELAYED_COMMAND_CPP
00004 #define TAO_ESF_DELAYED_COMMAND_CPP
00005 
00006 #include "orbsvcs/ESF/ESF_Delayed_Command.h"
00007 
00008 #if ! defined (__ACE_INLINE__)
00009 #include "orbsvcs/ESF/ESF_Delayed_Command.inl"
00010 #endif /* __ACE_INLINE__ */
00011 
00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00013 
00014 template<class Target, class Object> int
00015 TAO_ESF_Connected_Command<Target,Object>::execute (void* arg)
00016 {
00017   if (arg != 0)
00018     {
00019       this->target_->connected_i (this->object_);
00020     }
00021   else
00022     {
00023       this->target_->connected_i (this->object_);
00024     }
00025 
00026   return 0;
00027 }
00028 
00029 // ****************************************************************
00030 
00031 template<class Target, class Object> int
00032 TAO_ESF_Reconnected_Command<Target,Object>::execute (void* arg)
00033 {
00034   if (arg != 0)
00035     {
00036       this->target_->reconnected_i (this->object_);
00037     }
00038   else
00039     {
00040       this->target_->reconnected_i (this->object_);
00041     }
00042   return 0;
00043 }
00044 
00045 // ****************************************************************
00046 
00047 template<class Target, class Object> int
00048 TAO_ESF_Disconnected_Command<Target,Object>::execute (void* arg)
00049 {
00050   if (arg != 0)
00051     {
00052       this->target_->disconnected_i (this->object_);
00053     }
00054   else
00055     {
00056       this->target_->disconnected_i (this->object_);
00057     }
00058   return 0;
00059 }
00060 
00061 // ****************************************************************
00062 
00063 template<class Target> int
00064 TAO_ESF_Shutdown_Command<Target>::execute (void* arg)
00065 {
00066   if (arg != 0)
00067     {
00068       this->target_->shutdown_i ();
00069     }
00070   else
00071     {
00072       this->target_->shutdown_i ();
00073     }
00074   return 0;
00075 }
00076 
00077 TAO_END_VERSIONED_NAMESPACE_DECL
00078 
00079 #endif /* TAO_ESF_DELAYED_COMMAND_CPP */

Generated on Tue Feb 2 17:43:47 2010 for TAO_ESF by  doxygen 1.4.7