Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

# Swapping_Container.h File Reference

`#include "tao/ORB.h"`
`#include "tao/PortableServer/PortableServer.h"`
`#include "tao/PortableServer/Servant_Base.h"`
`#include "ciao/CCM_ContainerC.h"`
`#include "ciao/Container_Base.h"`
`#include "ciao/Deployment_CoreC.h"`
`#include "ciao/Dynamic_Component_Activator.h"`
`#include "ciao/CIAO_Server_Export.h"`
`#include "ciao/Servant_Activator.h"`

Include dependency graph for Swapping_Container.h:

This graph shows which files directly or indirectly include this file:

## Namespaces
namespace | CIAO
## Classes
class | CIAO::Swapping_Container
## Defines
#define | CIAO_REGISTER_OBV_FACTORY(FACTORY, VALUETYPE)

## Detailed Description

Id
  Swapping_Container.h,v 1.7 2005/04/24 07:51:15 jai Exp

Header file for CIAO's Dynamic Swapping container implementations

Author:
  Jaiganesh Balasubramanian <jai@dre.vanderbilt.edu> Balachandran Natarajan <bala@dre.vanderbilt.edu>

## Define Documentation

#define CIAO_REGISTER_OBV_FACTORY | ( | FACTORY,
|  | VALUETYPE |  | ) |

| Value:
    {  \
        CORBA::ValueFactory factory = new FACTORY; \
        CORBA::ORB_ptr orb = \
          this->context_->_ciao_the_Container ()->the_ORB (); \
        CORBA::ValueFactory prev_factory = \
          orb->register_value_factory ( \
                   VALUETYPE::_tao_obv_static_repository_id (), \
                   factory); \
        CORBA::remove_ref (prev_factory); \
        CORBA::add_ref (factory);  \
      }