#include "ciao/Containers/Swapping/Swapping_Container_export.h"
#include "ciao/Containers/Session/Session_Container.h"
#include "tao/PortableServer/Servant_Base.h"
#include "ciao/Containers/Container_Base.h"
#include "Swapping_Container.inl"
Classes | |
class | CIAO::Swapping_Container |
Namespaces | |
namespace | CIAO |
Defines | |
#define | CIAO_REGISTER_OBV_FACTORY(FACTORY, VALUETYPE) |
Header file for CIAO's Dynamic Swapping container implementations
#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); \ }