#include <ESF_Delayed_Command.h>
Inheritance diagram for TAO_ESF_Connected_Command< Target, Object >:
Public Member Functions | |
TAO_ESF_Connected_Command (Target *target, Object *object) | |
constructor... | |
virtual int | execute (void *arg) |
Private Attributes | |
Target * | target_ |
The target. | |
Object * | object_ |
The argument. |
It does not assume ownership of Object nor the Target arguments. Usually allocated from the heap or an allocator; but it is not self-managed.
No provisions for locking, access must be serialized externally.
Definition at line 41 of file ESF_Delayed_Command.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_ESF_Connected_Command< Target, Object >::TAO_ESF_Connected_Command | ( | Target * | target, | |
Object * | object | |||
) |
TAO_BEGIN_VERSIONED_NAMESPACE_DECL int TAO_ESF_Connected_Command< Target, Object >::execute | ( | void * | arg | ) | [virtual] |
The callback method, if the argument is not nil it is interpreted as a CORBA::Environment.
Implements ACE_Command_Base.
Definition at line 15 of file ESF_Delayed_Command.cpp.
References TAO_ESF_Connected_Command< Target, Object >::target_.
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 }
Object* TAO_ESF_Connected_Command< Target, Object >::object_ [private] |
Target* TAO_ESF_Connected_Command< Target, Object >::target_ [private] |
The target.
Definition at line 54 of file ESF_Delayed_Command.h.
Referenced by TAO_ESF_Connected_Command< Target, Object >::execute().