TAO_PI
2.1.8
|
An implementation of the PortableInterceptor::ORBInitInfo_3_1 interface. More...
#include <ORBInitInfo.h>
Protected Member Functions | |
~TAO_ORBInitInfo (void) | |
void | check_validity (void) |
![]() | |
Object (int dummy=0) | |
TAO::Object_Proxy_Broker * | proxy_broker () const |
Private Member Functions | |
TAO_ORBInitInfo (const TAO_ORBInitInfo &) | |
void | operator= (const TAO_ORBInitInfo &) |
Private Attributes | |
TAO_ORB_Core * | orb_core_ |
Reference to the ORB Core. More... | |
int | argc_ |
char ** | argv_ |
The argument vector passed to CORBA::ORB_init(). More... | |
IOP::CodecFactory_var | codec_factory_ |
PortableInterceptor::SlotId | slot_count_ |
The number of allocated slots. More... | |
Reference Related Methods | |
typedef TAO_ORBInitInfo_ptr | _ptr_type |
typedef TAO_ORBInitInfo_var | _var_type |
static TAO_ORBInitInfo_ptr | _duplicate (TAO_ORBInitInfo_ptr obj) |
static TAO_ORBInitInfo_ptr | _narrow (CORBA::Object_ptr obj) |
static TAO_ORBInitInfo_ptr | _unchecked_narrow (CORBA::Object_ptr obj) |
static TAO_ORBInitInfo_ptr | _nil (void) |
Additional Inherited Members | |
![]() | |
typedef Object_ptr | _ptr_type |
typedef Object_var | _var_type |
typedef Object_out | _out_type |
![]() | |
static CORBA::Boolean | marshal (const Object_ptr x, TAO_OutputCDR &cdr) |
static void | _tao_any_destructor (void *) |
static CORBA::Boolean | is_nil_i (CORBA::Object_ptr obj) |
static void | tao_object_initialize (Object *) |
static CORBA::Object_ptr | _duplicate (CORBA::Object_ptr obj) |
static CORBA::Object_ptr | _nil (void) |
static CORBA::Object_ptr | _narrow (CORBA::Object_ptr obj) |
An implementation of the PortableInterceptor::ORBInitInfo_3_1 interface.
This class encapsulates the data passed to ORBInitializers during ORB initialization.
TAO_ORBInitInfo::TAO_ORBInitInfo | ( | TAO_ORB_Core * | orb_core, |
int | argc, | ||
char * | argv[], | ||
PortableInterceptor::SlotId | slotid | ||
) |
Constructor.
|
protected |
Destructor is protected to enforce proper memory management through the reference counting mechanism.
|
private |
Prevent copying through the copy constructor and the assignment operator.
|
static |
|
virtual |
Return the argument vector for the ORB currently being initialized as a string sequence.
Reimplemented from CORBA::Object.
|
virtual |
|
static |
|
inlinestatic |
|
static |
|
virtual |
Register a client request interceptor with the ORB currently being initialized.
|
virtual |
Register a client request interceptor with the ORB currently being initialized, along with a list of policies.
|
virtual |
|
virtual |
|
virtual |
Register a server request interceptor with the ORB currently being initialized.
|
virtual |
Register a server request interceptor with the ORB currently being initialized, along with a list of policies.
|
virtual |
Reserve a slot in table found within the PortableInterceptor::Current object.
size_t TAO_ORBInitInfo::allocate_tss_slot_id | ( | ACE_CLEANUP_FUNC | cleanup | ) |
Allocate a slot in the ORB's TSS resources.
TAO uses a single TSS key for these resources, so it is useful to place TSS objects in TAO's TSS resources on platforms where the number of TSS keys is low. The returned SlotId can be used to index into the array stored in ORB's TSS resources structure.
|
virtual |
Return the argument vector for the ORB currently being initialized as a string sequence.
|
protected |
Check if this ORBInitInfo instance is valid. Once post_init() has been called on each of the ORBInitializers, this ORBInitInfo is no longer valid. Throw an exception in that case.
|
virtual |
Return the CodecFactory for the ORB currently being initialized.
|
inline |
Invalidate this ORBInitInfo instance.
|
private |
|
inline |
|
virtual |
Return the ORBid for the ORB currently being initialized.
|
virtual |
Register a mapping between a string and a corresponding object reference with the ORB being initialized. This method is particularly useful for registering references to local (locality constrained) objects. Note that this method should be called in ORBInitializer::pre_init() so that the registered reference will be available to the resolve_initial_references() that may be called in the ORBInitializer::post_init() call.
|
virtual |
Register a policy factory of the given policy type with the ORB currently being initialized.
|
virtual |
Obtain a reference to an object that may not yet be available via the usual CORBA::ORB::resolve_initial_references() mechanism since the ORB may not be fully initialized yet.
|
inline |
Return the number of allocated slots in for the PICurrent object.
|
private |
The number of arguments in the argument vector passed to CORBA::ORB_init().
|
private |
The argument vector passed to CORBA::ORB_init().
|
private |
Reference to the CodecFactory returned by ORBInitInfo::codec_factory().
|
private |
Reference to the ORB Core.
|
private |
The number of allocated slots.