#include "tao/orbconf.h"
#include "ciao/Base/CIAO_Base_stub_export.h"
|
typedef ORB * | CORBA::ORB_ptr |
|
Initializing CIAO client side ORB, if they need to.
- Author
- Nanbor Wang nanbo.nosp@m.r@cs.nosp@m..wust.nosp@m.l.ed.nosp@m.u
#define CIAO_REGISTER_VALUE_FACTORY |
( |
|
ORB, |
|
|
|
FACTORY, |
|
|
|
VALUETYPE |
|
) |
| |
Value:{\
CORBA::ValueFactory factory = new FACTORY; \
CORBA::ValueFactory prev_factory = \
ORB->register_value_factory \
(VALUETYPE::_tao_obv_static_repository_id (), \
factory); \
if (prev_factory) prev_factory->_remove_ref (); \
factory->_remove_ref (); }