Container_Base.h File Reference

#include "ace/Hash_Map_Manager_T.h"
#include "tao/LocalObject.h"
#include "tao/PortableServer/PortableServer.h"
#include "ccm/CCM_ContainerC.h"
#include "ciao/Containers/Container_BaseC.h"
#include "Container_Base.inl"
Include dependency graph for Container_Base.h:
This graph shows which files directly or indirectly include this file:

Classes

class  CIAO::Container_i

Namespaces

namespace  CIAO
namespace  CIAO::Deployment

Defines

#define CIAO_REGISTER_OBV_FACTORY(FACTORY, VALUETYPE)

Typedefs

typedef
ACE_Hash_Map_Manager_Ex
< ACE_CString,
CORBA::PolicyList, ACE_Hash
< ACE_CString >, ACE_Equal_To
< ACE_CString >
, ACE_Null_Mutex
CIAO::REC_POL_MAP
typedef ACE_Hash_Map_Iterator
< ACE_CString,
CORBA::PolicyList,
ACE_Null_Mutex
CIAO::REC_POL_MAP_ITERATOR

Detailed Description

Id
Container_Base.h 84406 2009-02-11 14:59:08Z wotte

Header file for CIAO's container implementations

Author:
Nanbor Wang <nanbor@cs.wustl.edu>
Gan Deng <dengg@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);  \
  }

Macro for registration of an OBV factory in the generated servant class. Similar to the macro for TAO in tao/ValueType/ValueFactory.h but here we take advantage of the fact that we have access to the current ORB indirectly through the context and container.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Sep 11 04:45:39 2009 for CIAO by  doxygen 1.6.1