TAO  2.0.3
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
CORBA::Policy Class Reference

#include <PolicyC.h>

Inheritance diagram for CORBA::Policy:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Policy_ptr _ptr_type
typedef Policy_var _var_type
typedef Policy_out _out_type
- Public Types inherited from CORBA::Object

Public Member Functions

virtual CORBA::PolicyType policy_type (void)
virtual ::CORBA::Policy_ptr copy (void)
virtual void destroy (void)
virtual CORBA::Boolean _is_a (const char *type_id)
 Determine if we are of the type specified by the "logical_type_id".
virtual const char * _interface_repository_id (void) const
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 Allows us to forbid marshaling of local interfaces.
virtual CORBA::Boolean _tao_encode (TAO_OutputCDR &)
virtual CORBA::Boolean _tao_decode (TAO_InputCDR &)
virtual TAO_Cached_Policy_Type _tao_cached_type (void) const
virtual TAO_Policy_Scope _tao_scope (void) const
- Public Member Functions inherited from CORBA::Object
virtual ~Object (void)
 Destructor.
virtual TAO_Abstract_ServantBase_servant (void) const
virtual CORBA::Boolean _is_collocated (void) const
virtual CORBA::Boolean _is_local (void) const
 Is this a local object?
virtual TAO::ObjectKey * _key (void)
 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)
virtual TAO_Stub_stubobj (void) const
 Get the underlying stub object.
virtual TAO_Stub_stubobj (void)
virtual void _proxy_broker (TAO::Object_Proxy_Broker *proxy_broker)
 Set the proxy broker.
CORBA::Boolean is_evaluated (void) const
 Accessor to the flag..
void set_collocated_servant (TAO_Abstract_ServantBase *)
 Mutator for setting the servant in collocated cases.
TAO_ORB_Coreorb_core (void) const
 Accessor for the ORB_Core..
IOP::IORsteal_ior (void)
 Accessors for the underlying IOP::IOR's.
const IOP::IORior (void) const
virtual bool can_convert_to_ior (void) const
 Can this object be stringified?
virtual char * convert_to_ior (bool use_omg_ior_format, const char *ior_prefix) const
void _decr_refcount (void)
virtual void _add_ref (void)
 Increment the reference count.
virtual void _remove_ref (void)
 Decrement the reference count.
virtual CORBA::ULong _refcount_value (void) const
 Get the refcount.
virtual CORBA::ULong _hash (CORBA::ULong maximum)
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
virtual CORBA::Boolean _non_existent (void)
 Determine if we are of the type specified by the "logical_type_id".
virtual InterfaceDef_ptr _get_interface (void)
 Get info about the object from the Interface Repository.
virtual CORBA::Object_ptr _get_component (void)
 Get info about the object from the Interface Repository.
virtual char * _repository_id (void)
 Get the repository id.
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)
 DII operation to create a request.
CORBA::Policy_ptr _get_policy (CORBA::PolicyType type)
 Determine if we are of the type specified by the "logical_type_id".
CORBA::Policy_ptr _get_cached_policy (TAO_Cached_Policy_Type type)
 Determine if we are of the type specified by the "logical_type_id".
CORBA::Object_ptr _set_policy_overrides (const CORBA::PolicyList &policies, CORBA::SetOverrideType set_add)
 Determine if we are of the type specified by the "logical_type_id".
CORBA::PolicyList_get_policy_overrides (const CORBA::PolicyTypeSeq &types)
 Determine if we are of the type specified by the "logical_type_id".
CORBA::Boolean _validate_connection (CORBA::PolicyList_out inconsistent_policies)
 Determine if we are of the type specified by the "logical_type_id".
virtual CORBA::ORB_ptr _get_orb (void)
 Determine if we are of the type specified by the "logical_type_id".

Static Public Member Functions

static Policy_ptr _duplicate (Policy_ptr obj)
static void _tao_release (Policy_ptr obj)
static Policy_ptr _narrow (CORBA::Object_ptr obj)
 No-op it is just here to simplify some templates.
static Policy_ptr _unchecked_narrow (CORBA::Object_ptr obj)
static Policy_ptr _nil (void)
 Return a NULL object.
static void _tao_any_destructor (void *)
 Used in the implementation of CORBA::Any.
- Static Public Member Functions inherited from CORBA::Object
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
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.

Protected Member Functions

 Policy (void)
virtual void CORBA_Policy_setup_collocation (void)
 Policy (IOP::IOR *ior, TAO_ORB_Core *orb_core)
 Policy (TAO_Stub *objref, CORBA::Boolean _tao_collocated=false, TAO_Abstract_ServantBase *servant=0, TAO_ORB_Core *orb_core=0)
virtual ~Policy (void)
- Protected Member Functions inherited from CORBA::Object
 Object (int dummy=0)
 Initializing a local object.
TAO::Object_Proxy_Broker * proxy_broker () const

Private Member Functions

 Policy (const Policy &)
void operator= (const Policy &)

Private Attributes

TAO::Collocation_Proxy_Broker * the_TAO_Policy_Proxy_Broker_

Friends

class TAO::Narrow_Utils< Policy >

Additional Inherited Members

- Protected Attributes inherited from CORBA::Object
ACE_Atomic_Op< TAO_SYNCH_MUTEX,
unsigned long > 
refcount_
 Number of outstanding references to this object.

Member Typedef Documentation

Reimplemented from CORBA::Object.

Reimplemented from CORBA::Object.

Reimplemented from CORBA::Object.


Constructor & Destructor Documentation

CORBA::Policy::Policy ( void  )
protected
CORBA::Policy::Policy ( IOP::IOR ior,
TAO_ORB_Core orb_core 
)
protected
CORBA::Policy::Policy ( TAO_Stub objref,
CORBA::Boolean  _tao_collocated = false,
TAO_Abstract_ServantBase servant = 0,
TAO_ORB_Core orb_core = 0 
)
protected
CORBA::Policy::~Policy ( void  )
protectedvirtual
CORBA::Policy::Policy ( const Policy )
private

Member Function Documentation

CORBA::Policy_ptr CORBA::Policy::_duplicate ( Policy_ptr  obj)
static
const char * CORBA::Policy::_interface_repository_id ( void  ) const
virtual

The repository ID for the most derived class, this is an implementation method and does no remote invocations!

Reimplemented from CORBA::Object.

CORBA::Boolean CORBA::Policy::_is_a ( const char *  logical_type_id)
virtual

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

Reimplemented from CORBA::Object.

CORBA::Policy_ptr CORBA::Policy::_narrow ( CORBA::Object_ptr  obj)
static

No-op it is just here to simplify some templates.

Reimplemented from CORBA::Object.

static Policy_ptr CORBA::Policy::_nil ( void  )
inlinestatic

Return a NULL object.

Reimplemented from CORBA::Object.

void CORBA::Policy::_tao_any_destructor ( void *  x)
static

Used in the implementation of CORBA::Any.

Reimplemented from CORBA::Object.

TAO_Cached_Policy_Type CORBA::Policy::_tao_cached_type ( void  ) const
virtual
CORBA::Boolean CORBA::Policy::_tao_decode ( TAO_InputCDR )
virtual
CORBA::Boolean CORBA::Policy::_tao_encode ( TAO_OutputCDR )
virtual
void CORBA::Policy::_tao_release ( Policy_ptr  obj)
static
TAO_Policy_Scope CORBA::Policy::_tao_scope ( void  ) const
virtual
CORBA::Policy_ptr CORBA::Policy::_unchecked_narrow ( CORBA::Object_ptr  obj)
static
CORBA::Policy_ptr CORBA::Policy::copy ( void  )
void CORBA::Policy::CORBA_Policy_setup_collocation ( void  )
protectedvirtual
void CORBA::Policy::destroy ( void  )
virtual
CORBA::Boolean CORBA::Policy::marshal ( TAO_OutputCDR cdr)
virtual

Allows us to forbid marshaling of local interfaces.

Reimplemented from CORBA::Object.

void CORBA::Policy::operator= ( const Policy )
private
CORBA::PolicyType CORBA::Policy::policy_type ( void  )
virtual

Friends And Related Function Documentation

friend class TAO::Narrow_Utils< Policy >
friend

Member Data Documentation

TAO::Collocation_Proxy_Broker* CORBA::Policy::the_TAO_Policy_Proxy_Broker_
private

The documentation for this class was generated from the following files: