TAO_PortableServer  2.0.8
Public Member Functions | Private Member Functions | Private Attributes
POA_CORBA::Policy_tie< T > Class Template Reference

#include <PolicyS_T.h>

Inheritance diagram for POA_CORBA::Policy_tie< T >:
Inheritance graph
[legend]
Collaboration diagram for POA_CORBA::Policy_tie< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Policy_tie (T &t)
 the T& ctor
 Policy_tie (T &t, PortableServer::POA_ptr poa)
 ctor taking a POA
 Policy_tie (T *tp,::CORBA::Boolean release=true)
 ctor taking pointer and an ownership flag
 Policy_tie (T *tp, PortableServer::POA_ptr poa,::CORBA::Boolean release=true)
 ctor with T*, ownership flag and a POA
 ~Policy_tie (void)
 dtor
T * _tied_object (void)
 return the underlying object
void _tied_object (T &obj)
 set the underlying object
void _tied_object (T *obj,::CORBA::Boolean release=true)
 set the underlying object and the ownership flag
::CORBA::Boolean _is_owner (void)
 do we own it
void _is_owner (::CORBA::Boolean b)
 set the ownership
PortableServer::POA_ptr _default_POA (void)
 Returns the default POA for this servant.
::CORBA::PolicyType policy_type (void)
::CORBA::Policy_ptr copy (void)
void destroy (void)

Private Member Functions

 Policy_tie (const Policy_tie &)
void operator= (const Policy_tie &)

Private Attributes

T * ptr_
PortableServer::POA_var poa_
::CORBA::Boolean rel_

template<class T>
class POA_CORBA::Policy_tie< T >


Constructor & Destructor Documentation

template<class T >
POA_CORBA::Policy_tie< T >::Policy_tie ( T &  t)

the T& ctor

template<class T >
POA_CORBA::Policy_tie< T >::Policy_tie ( T &  t,
PortableServer::POA_ptr  poa 
)

ctor taking a POA

template<class T >
POA_CORBA::Policy_tie< T >::Policy_tie ( T *  tp,
::CORBA::Boolean  release = true 
)

ctor taking pointer and an ownership flag

template<class T >
POA_CORBA::Policy_tie< T >::Policy_tie ( T *  tp,
PortableServer::POA_ptr  poa,
::CORBA::Boolean  release = true 
)

ctor with T*, ownership flag and a POA

template<class T >
POA_CORBA::Policy_tie< T >::~Policy_tie ( void  )

dtor

template<class T >
POA_CORBA::Policy_tie< T >::Policy_tie ( const Policy_tie< T > &  ) [private]

Member Function Documentation

template<class T >
PortableServer::POA_ptr POA_CORBA::Policy_tie< T >::_default_POA ( void  ) [virtual]

Returns the default POA for this servant.

Reimplemented from TAO_ServantBase.

template<class T >
CORBA::Boolean POA_CORBA::Policy_tie< T >::_is_owner ( void  )

do we own it

template<class T >
void POA_CORBA::Policy_tie< T >::_is_owner ( ::CORBA::Boolean  b)

set the ownership

template<class T >
T * POA_CORBA::Policy_tie< T >::_tied_object ( void  )

return the underlying object

template<class T >
void POA_CORBA::Policy_tie< T >::_tied_object ( T &  obj)

set the underlying object

template<class T >
void POA_CORBA::Policy_tie< T >::_tied_object ( T *  obj,
::CORBA::Boolean  release = true 
)

set the underlying object and the ownership flag

template<class T >
CORBA::Policy_ptr POA_CORBA::Policy_tie< T >::copy ( void  ) [virtual]

Implements POA_CORBA::Policy.

template<class T >
void POA_CORBA::Policy_tie< T >::destroy ( void  ) [virtual]

Implements POA_CORBA::Policy.

template<class T >
void POA_CORBA::Policy_tie< T >::operator= ( const Policy_tie< T > &  ) [private]
template<class T >
CORBA::PolicyType POA_CORBA::Policy_tie< T >::policy_type ( void  ) [virtual]

Implements POA_CORBA::Policy.


Member Data Documentation

template<class T >
PortableServer::POA_var POA_CORBA::Policy_tie< T >::poa_ [private]
template<class T >
T* POA_CORBA::Policy_tie< T >::ptr_ [private]
template<class T >
::CORBA::Boolean POA_CORBA::Policy_tie< T >::rel_ [private]

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