Public Types |
| typedef CORBA_Object_ptr | _ptr_type |
| typedef CORBA_Object_var | _var_type |
Public Methods |
| virtual | ~CORBA_Object (void) |
| | Destructor.
|
| virtual CORBA::Boolean | _is_a (const char *logical_type_id, CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) |
| | determine if we are of the type specified by the "logical_type_id".
|
| virtual const char* | _interface_repository_id (void) const |
| | The repository ID for the most derived class, this is an implementation method and does no remote invocations!
|
| virtual CORBA::Boolean | _is_collocated (void) const |
| | Is this object collocated with the servant?
|
| virtual CORBA::Boolean | _is_local (void) const |
| | Is this a local object?
|
| virtual TAO_Abstract_ServantBase* | _servant (void) const |
| virtual CORBA::Boolean | _non_existent (CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) |
| virtual CORBA::ImplementationDef_ptr | _get_implementation ( CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () ) |
| | This method is deprecated in the CORBA 2.2 spec, we just return 0 every time.
|
| virtual CORBA_InterfaceDef_ptr | _get_interface ( CORBA_Environment &ACE_TRY_ENV = TAO_default_environment () ) |
| | Get info about the object from the Interface Repository.
|
| virtual void | _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags, CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) |
| virtual void | _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags, CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) |
| virtual CORBA::Request_ptr | _request (const char *operation, CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) |
| | DII operation to create a request.
|
| CORBA::Policy_ptr | _get_policy ( CORBA::PolicyType type, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment () ) |
| CORBA::Policy_ptr | _get_client_policy ( CORBA::PolicyType type, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment () ) |
| CORBA::Object_ptr | _set_policy_overrides ( const CORBA::PolicyList & policies, CORBA::SetOverrideType set_add, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment () ) |
| CORBA::PolicyList* | _get_policy_overrides ( const CORBA::PolicyTypeSeq & types, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment () ) |
| CORBA::Boolean | _validate_connection ( CORBA::PolicyList_out inconsistent_policies, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment () ) |
| virtual CORBA::ULong | _hash (CORBA::ULong maximum, CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) |
| virtual CORBA::Boolean | _is_equivalent (CORBA::Object_ptr other_obj, CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) throw () |
| virtual TAO_ObjectKey* | _key (CORBA_Environment &ACE_TRY_ENV) |
| | Return the object key as an out parameter. Caller should release return value when finished with it.
|
| virtual const TAO_ObjectKey& | _object_key (void) |
| virtual void* | _tao_QueryInterface (ptr_arith_t type) |
| | Downcasting this object pointer to some other derived class. This QueryInterface stuff only work for local object.
|
| virtual void | _add_ref (void) |
| | Increment the reference count.
|
| virtual void | _remove_ref (void) |
| | Decrement the reference count.
|
| | CORBA_Object (TAO_Stub *p = 0, CORBA::Boolean collocated = 0, TAO_Abstract_ServantBase *servant = 0) |
| virtual TAO_Stub* | _stubobj (void) const |
| | get the underlying stub object.
|
| virtual void | _proxy_broker (TAO_Object_Proxy_Broker *proxy_broker) |
| | Sets the proxy broker.
|
| virtual TAO_Object_Proxy_Broker* | _proxy_broker (void) |
| | Gets the proxy broker.
|
Static Public Methods |
| CORBA_Object_ptr | _duplicate (CORBA_Object_ptr obj) |
| | Increment the ref count.
|
| CORBA_Object_ptr | _nil (void) |
| | Return a NULL object.
|
| ACE_INLINE_FOR_GNUC CORBA_Object_ptr | _narrow (CORBA_Object_ptr obj, CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) |
| | No-op it is just here to simplify some templates.
|
| CORBA_Object_ptr | _unchecked_narrow (CORBA_Object_ptr obj, CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()) |
| void | _tao_any_destructor (void*) |
| | Used in the implementation of CORBA::Any.
|
| CORBA::Boolean | is_nil_i (CORBA_Object_ptr obj) |
| | Uninlined part of the now-inlined CORBA::is_nil().
|
Static Public Attributes |
| int | _tao_class_id = 0 |
| | Address of this variable used in <_unchecked_narrow>.
|
Protected Methods |
| | CORBA_Object (int dummy) |
| | Initializing a local object.
|
| CORBA::ULong | _incr_refcnt (void) |
| | Increment the reference count.
|
| CORBA::ULong | _decr_refcnt (void) |
| | Decrement the reference count.
|
Protected Attributes |
| CORBA::Boolean | is_collocated_ |
| | Flag to indicate collocation. It is 0 except for collocated objects.
|
| TAO_Abstract_ServantBase* | servant_ |
| | Servant pointer. It is 0 except for collocated objects.
|
| CORBA::Boolean | is_local_ |
| | Specify whether this is a local object or not.
|
| TAO_Object_Proxy_Broker* | proxy_broker_ |
Private Methods |
| | CORBA_Object (const CORBA_Object &) |
| CORBA_Object& | operator= (const CORBA_Object &) |
Private Attributes |
| TAO_Stub* | protocol_proxy_ |
| CORBA::ULong | refcount_ |
| | Number of outstanding references to this object.
|
| TAO_SYNCH_MUTEX | refcount_lock_ |
| | Protect the reference count, this is OK because we do no duplicates or releases on the critical path.
|