CORBA::LocalObject Class Reference

#include <LocalObject.h>

Inheritance diagram for CORBA::LocalObject:
Inheritance graph
[legend]
Collaboration diagram for CORBA::LocalObject:
Collaboration graph
[legend]

List of all members.

Public Types

typedef LocalObject_ptr _ptr_type
 Useful for template programming.
typedef LocalObject_var _var_type
typedef LocalObject_out _out_type

Public Member Functions

virtual ~LocalObject (void)
 Destructor.
virtual CORBA::Boolean _non_existent (void)
 Always returns false.
virtual char * _repository_id (void)
 Get the repository id.
virtual CORBA::InterfaceDef_ptr _get_interface (void)
 Gets info about object from the Interface Repository.
virtual CORBA::Object_ptr _get_component (void)
 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 (void)
 Determine if we are of the type specified by the "logical_type_id".
virtual TAO::ObjectKey * _key (void)
 Throws CORBA::NO_IMPLEMENT.

Static Public Member Functions

static LocalObject_ptr _duplicate (LocalObject_ptr obj)
 Increment the ref count.
static LocalObject_ptr _nil (void)
 Return a NIL object.
static LocalObject_ptr _narrow (CORBA::Object_ptr obj)

Protected Member Functions

 LocalObject (void)
 Default constructor.

Private Member Functions

Unimplemented methods



 LocalObject (const LocalObject &)
LocalObjectoperator= (const LocalObject &)

Member Typedef Documentation

Reimplemented from CORBA::Object.

Useful for template programming.

Reimplemented from CORBA::Object.

Reimplemented from CORBA::Object.


Constructor & Destructor Documentation

virtual CORBA::LocalObject::~LocalObject ( void   )  [virtual]

Destructor.

CORBA::LocalObject::LocalObject ( void   )  [protected]

Default constructor.

Make it protected to prevent instantiation of this class.

CORBA::LocalObject::LocalObject ( const LocalObject  )  [private]

Member Function Documentation

void CORBA::LocalObject::_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 
) [virtual]

Determine if we are of the type specified by the "logical_type_id".

Reimplemented from CORBA::Object.

void CORBA::LocalObject::_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 
) [virtual]

Determine if we are of the type specified by the "logical_type_id".

Reimplemented from CORBA::Object.

CORBA::LocalObject_ptr CORBA::LocalObject::_duplicate ( CORBA::LocalObject_ptr  obj  )  [static]

Increment the ref count.

Reimplemented from CORBA::Object.

CORBA::Object_ptr CORBA::LocalObject::_get_component ( void   )  [virtual]

Throws NO_IMPLEMENT.

Reimplemented from CORBA::Object.

CORBA::InterfaceDef_ptr CORBA::LocalObject::_get_interface ( void   )  [virtual]

Gets info about object from the Interface Repository.

Reimplemented from CORBA::Object.

CORBA::ORB_ptr CORBA::LocalObject::_get_orb ( void   )  [virtual]

Determine if we are of the type specified by the "logical_type_id".

Reimplemented from CORBA::Object.

CORBA::ULong CORBA::LocalObject::_hash ( CORBA::ULong  maximum  )  [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.

CORBA::Boolean CORBA::LocalObject::_is_equivalent ( CORBA::Object_ptr  other_obj  )  [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.

TAO::ObjectKey * CORBA::LocalObject::_key ( void   )  [virtual]

Throws CORBA::NO_IMPLEMENT.

Reimplemented from CORBA::Object.

CORBA::LocalObject_ptr CORBA::LocalObject::_narrow ( CORBA::Object_ptr  obj  )  [static]
Todo:
Narrowing a LocalObject to a CORBA::Object is broken right now. The solution seems to be making CORBA::Object an abstract base class and create a CORBA::RemoteObject for regular object. Or, even easier, add a is_local member into CORBA::Object. I'll take the easier route for now.
CORBA::LocalObject_ptr CORBA::LocalObject::_nil ( void   )  [static]

Return a NIL object.

Reimplemented from CORBA::Object.

CORBA::Boolean CORBA::LocalObject::_non_existent ( void   )  [virtual]

Always returns false.

Reimplemented from CORBA::Object.

char * CORBA::LocalObject::_repository_id ( void   )  [virtual]

Get the repository id.

Reimplemented from CORBA::Object.

CORBA::Request_ptr CORBA::LocalObject::_request ( const char *  operation  )  [virtual]

Throws NO_IMPLEMENT.

Reimplemented from CORBA::Object.

LocalObject& CORBA::LocalObject::operator= ( const LocalObject  )  [private]

Reimplemented from CORBA::Object.

Reimplemented in TAO_Local_RefCounted_Object, and TAO_Policy_Manager.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Fri Sep 11 04:10:07 2009 for TAO by  doxygen 1.6.1