Public Member Functions

TAO_Notify_Proxy_Builder_T< PROXY_IMPL, PROXY, PROXY_PTR, PROXY_VAR, PARENT > Class Template Reference

List of all members.

Public Member Functions

PROXY_PTR build (PARENT *parent, CosNotifyChannelAdmin::ProxyID_out proxy_id, const CosNotification::QoSProperties &initial_qos)
PROXY_IMPL * build (PARENT *parent, const CosNotifyChannelAdmin::ProxyID proxy_id)

Detailed Description

template<class PROXY_IMPL, class PROXY, class PROXY_PTR, class PROXY_VAR, class PARENT>
class TAO_Notify_Proxy_Builder_T< PROXY_IMPL, PROXY, PROXY_PTR, PROXY_VAR, PARENT >

Definition at line 46 of file Builder.cpp.


Member Function Documentation

template<class PROXY_IMPL , class PROXY , class PROXY_PTR , class PROXY_VAR , class PARENT >
PROXY_PTR TAO_Notify_Proxy_Builder_T< PROXY_IMPL, PROXY, PROXY_PTR, PROXY_VAR, PARENT >::build ( PARENT *  parent,
CosNotifyChannelAdmin::ProxyID_out  proxy_id,
const CosNotification::QoSProperties initial_qos 
) [inline]

Definition at line 40 of file Builder.cpp.

{
public:
  PROXY_PTR
  build (PARENT *parent, CosNotifyChannelAdmin::ProxyID_out proxy_id
         , const CosNotification::QoSProperties & initial_qos)
  {
    PROXY_VAR proxy_ret;

    TAO_Notify_Factory* factory = TAO_Notify_PROPERTIES::instance ()->factory ();

    PROXY_IMPL* proxy = 0;
    factory->create (proxy);

    PortableServer::ServantBase_var servant (proxy);

    proxy->init (parent);

    proxy->set_qos (initial_qos);

    CORBA::Object_var obj = proxy->activate (proxy);

template<class PROXY_IMPL , class PROXY , class PROXY_PTR , class PROXY_VAR , class PARENT >
PROXY_IMPL* TAO_Notify_Proxy_Builder_T< PROXY_IMPL, PROXY, PROXY_PTR, PROXY_VAR, PARENT >::build ( PARENT *  parent,
const CosNotifyChannelAdmin::ProxyID  proxy_id 
) [inline]

Definition at line 70 of file Builder.cpp.

  {
    TAO_Notify_Factory* factory = TAO_Notify_PROPERTIES::instance ()->factory ();

    PROXY_IMPL* proxy = 0;
    factory->create (proxy);

    PortableServer::ServantBase_var servant (proxy);


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