#include <RT_Notify_Service.h>
Inheritance diagram for TAO_RT_Notify_Service:
Public Member Functions | |
TAO_RT_Notify_Service (void) | |
Constuctor. | |
~TAO_RT_Notify_Service () | |
Destructor. | |
virtual void | init_service (CORBA::ORB_ptr orb) |
Init the service. | |
Protected Member Functions | |
virtual void | init_i (CORBA::ORB_ptr orb) |
Init the data members. | |
virtual TAO_Notify_Factory * | create_factory (void) |
Create the Factory for RT Notify objects. | |
virtual TAO_Notify_Builder * | create_builder (void) |
Creates the Builder for RT Notify objects. |
Definition at line 33 of file RT_Notify_Service.h.
|
Constuctor.
Definition at line 15 of file RT_Notify_Service.cpp.
00016 { 00017 } |
|
Destructor.
Definition at line 19 of file RT_Notify_Service.cpp.
00020 { 00021 } |
|
Creates the Builder for RT Notify objects.
Reimplemented from TAO_CosNotify_Service. Definition at line 74 of file RT_Notify_Service.cpp. References ACE_NEW_THROW_EX.
00075 { 00076 TAO_Notify_Builder* builder = 0; 00077 ACE_NEW_THROW_EX (builder, 00078 TAO_Notify_RT_Builder (), 00079 CORBA::NO_MEMORY ()); 00080 00081 return builder; 00082 } |
|
Create the Factory for RT Notify objects.
Reimplemented from TAO_CosNotify_Service. Definition at line 59 of file RT_Notify_Service.cpp. References ACE_NEW_THROW_EX, and ACE_Dynamic_Service< TYPE >::instance().
00060 { 00061 TAO_Notify_Factory* factory = 00062 ACE_Dynamic_Service<TAO_Notify_Factory>::instance ("TAO_Notify_Factory"); 00063 00064 if (factory == 0) 00065 { 00066 ACE_NEW_THROW_EX (factory, 00067 TAO_Notify_RT_Factory (), 00068 CORBA::NO_MEMORY ()); 00069 } 00070 return factory; 00071 } |
|
Init the data members. Set the properties Reimplemented from TAO_CosNotify_Service. Definition at line 32 of file RT_Notify_Service.cpp. References TAO_Notify_RT_Properties::current(), TAO_CosNotify_Service::init_i(), TAO_Notify_RT_Properties::instance(), and TAO_Notify_RT_Properties::rt_orb(). Referenced by init_service().
00033 { 00034 //Init the base class. 00035 TAO_CosNotify_Service::init_i (orb); 00036 00037 TAO_Notify_RT_Properties* properties = TAO_Notify_RT_PROPERTIES::instance(); 00038 00039 // Resolve RTORB 00040 CORBA::Object_var object = 00041 orb->resolve_initial_references ("RTORB"); 00042 00043 RTCORBA::RTORB_var rt_orb = 00044 RTCORBA::RTORB::_narrow (object.in ()); 00045 00046 // Resolve RTCurrent 00047 object = 00048 orb->resolve_initial_references ("RTCurrent"); 00049 00050 RTCORBA::Current_var current = 00051 RTCORBA::Current::_narrow (object.in ()); 00052 00053 /// Set the properties 00054 properties->rt_orb (rt_orb.in ()); 00055 properties->current (current.in ()); 00056 } |
|
Init the service.
Reimplemented from TAO_CosNotify_Service. Definition at line 24 of file RT_Notify_Service.cpp. References ACE_DEBUG, init_i(), and LM_DEBUG.
|