TAO 4.0.2
|
#include <LocalObject.h>
Public Types | |
typedef LocalObject_ptr | _ptr_type |
Useful for template programming. | |
typedef LocalObject_var | _var_type |
typedef LocalObject_out | _out_type |
![]() | |
typedef Object_ptr | _ptr_type |
Specify whether this is a local object or not. | |
typedef Object_var | _var_type |
Specify whether this is a local object or not. | |
typedef Object_out | _out_type |
Specify whether this is a local object or not. | |
Public Member Functions | |
virtual | ~LocalObject () |
Destructor. | |
virtual CORBA::Boolean | _non_existent () |
Always returns false. | |
virtual char * | _repository_id () |
Get the repository id. | |
virtual CORBA::InterfaceDef_ptr | _get_interface () |
Gets info about object from the Interface Repository. | |
virtual CORBA::Object_ptr | _get_component () |
Throws NO_IMPLEMENT. | |
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) |
Determine if we are of the type specified by the "logical_type_id". | |
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) |
Determine if we are of the type specified by the "logical_type_id". | |
virtual CORBA::Request_ptr | _request (const char *operation) |
Throws NO_IMPLEMENT. | |
virtual CORBA::ULong | _hash (CORBA::ULong maximum) |
virtual CORBA::Boolean | _is_equivalent (CORBA::Object_ptr other_obj) |
virtual CORBA::ORB_ptr | _get_orb () |
Determine if we are of the type specified by the "logical_type_id". | |
virtual TAO::ObjectKey * | _key () |
Throws CORBA::NO_IMPLEMENT. | |
![]() | |
virtual | ~Object () |
Destructor. | |
virtual void | _add_ref () |
Increment the reference count. | |
virtual void | _remove_ref () |
Decrement the reference count. | |
virtual CORBA::ULong | _refcount_value () const |
Get the refcount. | |
virtual TAO_Abstract_ServantBase * | _servant () const |
virtual CORBA::Boolean | _is_collocated () const |
virtual CORBA::Boolean | _is_local () const |
Is this a local object? | |
Object (TAO_Stub *p, CORBA::Boolean collocated=false, TAO_Abstract_ServantBase *servant=0, TAO_ORB_Core *orb_core=0) | |
Constructor. | |
Object (IOP::IOR *ior, TAO_ORB_Core *orb_core) | |
Specify whether this is a local object or not. | |
virtual TAO_Stub * | _stubobj () const |
Get the underlying stub object. | |
virtual TAO_Stub * | _stubobj () |
Specify whether this is a local object or not. | |
virtual void | _proxy_broker (TAO::Object_Proxy_Broker *proxy_broker) |
Set the proxy broker. | |
virtual CORBA::Boolean | marshal (TAO_OutputCDR &cdr) |
Allows us to forbid marshaling of local interfaces. | |
CORBA::Boolean | is_evaluated () const |
Accessor to the flag.. | |
TAO_ORB_Core * | orb_core () const |
Accessor for the ORB_Core.. | |
IOP::IOR * | steal_ior () |
Accessors for the underlying IOP::IOR's. | |
const IOP::IOR & | ior () const |
Specify whether this is a local object or not. | |
virtual bool | can_convert_to_ior () const |
Can this object be stringified? | |
virtual char * | convert_to_ior (bool use_omg_ior_format, const char *ior_prefix) const |
void | _decr_refcount () |
Wrapper for _remove_ref(), naming convention for templatizing. | |
virtual CORBA::Boolean | _is_a (const char *logical_type_id) |
Determine if we are of the type specified by the "logical_type_id". | |
virtual const char * | _interface_repository_id () const |
Static Public Member Functions | |
static LocalObject_ptr | _duplicate (LocalObject_ptr obj) |
Increment the ref count. | |
static LocalObject_ptr | _nil () |
Return a NIL object. | |
static LocalObject_ptr | _narrow (CORBA::Object_ptr obj) |
![]() | |
static CORBA::Boolean | marshal (const Object_ptr x, TAO_OutputCDR &cdr) |
static void | _tao_any_destructor (void *) |
Used in the implementation of CORBA::Any. | |
static CORBA::Boolean | is_nil_i (CORBA::Object_ptr obj) |
Uninlined part of the now-inlined CORBA::is_nil(). | |
static void | tao_object_initialize (Object *) |
Helper function for reading contents of an IOR. | |
static CORBA::Object_ptr | _duplicate (CORBA::Object_ptr obj) |
Increment the ref count. | |
static CORBA::Object_ptr | _nil () |
Return a NULL object. | |
static CORBA::Object_ptr | _narrow (CORBA::Object_ptr obj) |
No-op it is just here to simplify some templates. | |
Protected Member Functions | |
LocalObject () | |
Default constructor. | |
![]() | |
Object (int dummy=0) | |
Initializing a local object. | |
TAO::Object_Proxy_Broker * | proxy_broker () const |
Private Member Functions | |
LocalObject (const LocalObject &)=delete | |
LocalObject & | operator= (const LocalObject &)=delete |
Additional Inherited Members | |
![]() | |
std::atomic< uint32_t > | refcount_ |
Specify whether this is a local object or not. | |
Useful for template programming.
|
virtual |
Destructor.
|
protected |
Default constructor.
Make it protected to prevent instantiation of this class.
|
privatedelete |
|
virtual |
Determine if we are of the type specified by the "logical_type_id".
Reimplemented from CORBA::Object.
|
virtual |
Determine if we are of the type specified by the "logical_type_id".
Reimplemented from CORBA::Object.
|
static |
Increment the ref count.
|
virtual |
Throws NO_IMPLEMENT.
Reimplemented from CORBA::Object.
|
virtual |
Gets info about object from the Interface Repository.
Reimplemented from CORBA::Object.
|
virtual |
Determine if we are of the type specified by the "logical_type_id".
Reimplemented from CORBA::Object.
|
virtual |
Return a hash value for this object. The hash is based on the address of the object. On non-32 bit platforms, the hash may be non-unique.
Reimplemented from CORBA::Object.
|
virtual |
Try to determine if this object is the same as other_obj
. This method relies on the representation of the object reference's private state. Since that changes easily (when different ORB protocols are in use) there is no default implementation.
Reimplemented from CORBA::Object.
|
virtual |
Throws CORBA::NO_IMPLEMENT.
Reimplemented from CORBA::Object.
|
static |
is_local
member into CORBA::Object. I'll take the easier route for now.
|
static |
Return a NIL object.
|
virtual |
Always returns false.
Reimplemented from CORBA::Object.
|
virtual |
Get the repository id.
Reimplemented from CORBA::Object.
|
virtual |
Throws NO_IMPLEMENT.
Reimplemented from CORBA::Object.
|
privatedelete |