LifespanStrategy.cpp

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    LifespanStrategy.cpp
00006  *
00007  *  $Id: LifespanStrategy.cpp 76551 2007-01-24 13:42:44Z johnnyw $
00008  *
00009  */
00010 //=============================================================================
00011 
00012 #include "tao/PortableServer/LifespanStrategy.h"
00013 
00014 ACE_RCSID (PortableServer,
00015            LifespanStrategy,
00016            "$Id: LifespanStrategy.cpp 76551 2007-01-24 13:42:44Z johnnyw $")
00017 
00018 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00019 
00020 namespace TAO
00021 {
00022   namespace Portable_Server
00023   {
00024     LifespanStrategy::LifespanStrategy () :
00025       poa_ (0)
00026     {
00027     }
00028 
00029     void
00030     LifespanStrategy::strategy_init (TAO_Root_POA *poa)
00031     {
00032       poa_ = poa;
00033     }
00034 
00035     void
00036     LifespanStrategy::strategy_cleanup (void)
00037     {
00038       poa_ = 0;
00039     }
00040 
00041     CORBA::ULong
00042     LifespanStrategy::key_type_length (void) const
00043     {
00044       return sizeof (char);
00045     }
00046   } /* namespace Portable_Server */
00047 } /* namespace TAO */
00048 
00049 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:40:54 2010 for TAO_PortableServer by  doxygen 1.4.7